Class TimePoint
java.lang.Object
net.sourceforge.plantuml.gantt.time.TimePoint
- All Implemented Interfaces:
Comparable<TimePoint>,PValue
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddDays(int nday) intstatic TimePointcreate(long ms) static LocalDateepoch()booleanfinal intfinal intfinal longintgetWeekOfYear(WeekNumberStrategy strategy) inthashCode()increment(PrintScale printScale) static TimePointstatic TimePointmonth()static TimePointnowUtc1()static TimePointof(LocalDateTime time) static TimePointstatic TimePointofStartOfDay(int year, int month, int dayOfMonth) static TimePointofStartOfDay(int year, String month, int dayOfMonth) static TimePointofStartOfDay(LocalDate day) quarter()toDay()static TimePointtoString()toStringShort(Locale locale) intyear()
-
Field Details
-
MILLISECONDS_PER_DAY
public static final long MILLISECONDS_PER_DAY- See Also:
-
-
Method Details
-
epoch
-
ofStartOfDay
-
of
-
ofStartOfDay
-
ofStartOfDay
-
ofEndOfDayMinusOneSecond
-
ofEndOfDay
-
create
-
nowUtc1
-
todayAtMidnight
-
toLocalDateTime
-
toStringShort
-
getWeekOfYear
-
increment
-
decrement
-
addDays
-
getAbsoluteDayNum
public final int getAbsoluteDayNum() -
getMillis
public final long getMillis() -
year
public int year() -
quarter
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<TimePoint>
-
getDayOfMonth
public final int getDayOfMonth() -
month
-
monthYear
-
toDayOfWeek
-
toDay
-
min
-
max
-
increment
-
roundDayDown
-
roundDayUp
-
minusOneSecond
-
plusOneSecond
-
floorToDay
-