Class Day
java.lang.Object
net.sourceforge.plantuml.project.time.Day
- All Implemented Interfaces:
Comparable<Day>
,Value
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddDays
(int nday) int
static Day
create
(int year, int month, int dayOfMonth) static Day
static Day
create
(long ms) boolean
final int
final int
final long
int
getWeekOfYear
(WeekNumberStrategy strategy) int
hashCode()
increment
(PrintScale printScale) static Day
static Day
month()
static Day
today()
toString()
toStringShort
(Locale locale) int
year()
-
Field Details
-
MILLISECONDS_PER_DAY
public static final long MILLISECONDS_PER_DAY- See Also:
-
-
Method Details
-
create
-
create
-
create
-
today
-
toStringShort
-
getWeekOfYear
-
increment
-
decrement
-
addDays
-
getAbsoluteDayNum
public final int getAbsoluteDayNum() -
getMillis
public final long getMillis() -
year
public int year() -
toString
-
hashCode
public int hashCode() -
equals
-
getDayOfMonth
public final int getDayOfMonth() -
month
-
monthYear
-
getDayOfWeek
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Day>
-
min
-
max
-
increment
-
roundDayDown
-
roundDayUp
-