Class LocalDateTimePeriod
java.lang.Object
net.thevpc.netbeans.launcher.util.LocalDateTimePeriod
- Author:
- thevpc
-
Constructor Summary
ConstructorsConstructorDescriptionLocalDateTimePeriod(long years, long months, long days, long hours, long minutes, long seconds, long milliseconds) -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalDateTimePeriodbetween(LocalDateTime fromDateTime, LocalDateTime toDateTime) longgetDays()longgetHours()longlonglonglonglonggetYears()setDays(long days) setHours(long hours) setMilliseconds(long milliseconds) setMinutes(long minutes) setMonths(long months) setSeconds(long seconds) setYears(long years) toString()update(long years, long months, long days, long hours, long minutes, long seconds, long milliseconds)
-
Constructor Details
-
LocalDateTimePeriod
public LocalDateTimePeriod(long years, long months, long days, long hours, long minutes, long seconds, long milliseconds)
-
-
Method Details
-
between
-
update
public LocalDateTimePeriod update(long years, long months, long days, long hours, long minutes, long seconds, long milliseconds) -
getYears
public long getYears() -
setYears
-
getMonths
public long getMonths() -
setMonths
-
getDays
public long getDays() -
setDays
-
getHours
public long getHours() -
setHours
-
getMinutes
public long getMinutes() -
setMinutes
-
getSeconds
public long getSeconds() -
setSeconds
-
getMilliseconds
public long getMilliseconds() -
setMilliseconds
-
getFullMessage
-
toString
-