Uses of Class
org.apache.pivot.util.Time
-
Packages that use Time Package Description org.apache.pivot.util Contains a collection of common utility classes. -
-
Uses of Time in org.apache.pivot.util
Fields in org.apache.pivot.util declared as Time Modifier and Type Field Description Time
Time.Range. end
static Time
CalendarDate. MIDNIGHT_TIME
The midnight time of dayTime(0,0,0)
.Time
Time.Range. start
Methods in org.apache.pivot.util that return Time Modifier and Type Method Description Time
Time. add(int milliseconds)
Adds the specified milliseconds of days to this time and returns the resulting time.static Time
Time. decode(java.lang.String value)
Creates a new time representing the specified time string.Methods in org.apache.pivot.util with parameters of type Time Modifier and Type Method Description int
Time. compareTo(Time time)
boolean
Time.Range. contains(Time time)
int
Time. subtract(Time time)
Gets the number of milliseconds in between this time and the specified time.java.util.GregorianCalendar
CalendarDate. toCalendar(Time time)
Translates this calendar date along with the given time of day to an instance ofGregorianCalendar
, with theyear
,month
, anddayOfMonth
fields set in the time zone set at construction with the default locale.java.time.LocalDateTime
CalendarDate. toLocalDateTime(Time time)
Constructors in org.apache.pivot.util with parameters of type Time Constructor Description Range(Time time)
Range(Time start, Time end)
-