Class Day
java.lang.Object
net.sourceforge.plantuml.project.time.Day
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddDays
(int nday) int
static Day
create
(int year, int month, int dayOfMonth) static Day
create
(int year, java.lang.String month, int dayOfMonth) static Day
create
(long ms) boolean
equals
(java.lang.Object obj) final int
final int
final long
int
getWeekOfYear
(WeekNumberStrategy strategy) int
hashCode()
increment
(PrintScale printScale) static Day
static Day
month()
static Day
today()
java.lang.String
toString()
int
year()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
MILLISECONDS_PER_DAY
public static final long MILLISECONDS_PER_DAY- See Also:
-
-
Method Details
-
create
-
create
-
create
-
today
-
getWeekOfYear
-
increment
-
decrement
-
addDays
-
getAbsoluteDayNum
public final int getAbsoluteDayNum() -
getMillis
public final long getMillis() -
year
public int year() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equals
in classjava.lang.Object
-
getDayOfMonth
public final int getDayOfMonth() -
month
-
monthYear
-
getDayOfWeek
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<Day>
-
min
-
max
-
increment
-