|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of TimeOfDay in org.enblom.time |
---|
Methods in org.enblom.time that return TimeOfDay | |
---|---|
TimeOfDay |
TimeOfDayFactory.deserialize(String time)
Creates a new TimeOfDay object with time of the given string
serialization, as returned by serialize() |
TimeOfDay |
TimeOfDayFactory.fromInt(int time)
Converts an int , as returned from toInt()
to a TimeOfDay object. |
TimeOfDay |
TimeOfDayFactory.getDefault()
Returns a default time of day: 00:00:00.000 (midnight). |
TimeOfDay |
Time.getTimeOfDay()
|
static TimeOfDay |
TimeUtils.max(TimeOfDay t1,
TimeOfDay t2)
Finds the maximum of two times. |
static TimeOfDay |
TimeUtils.min(TimeOfDay t1,
TimeOfDay t2)
Finds the minimum of two times. |
TimeOfDay |
TimeOfDayFactory.now()
|
TimeOfDay |
TimeOfDayFactory.parse(int hour,
int minute,
int second)
Creates a new TimeOfDay object, if possible, from the given
parameters. |
TimeOfDay |
TimeOfDayFactory.parse(int hour,
int minute,
int second,
int millis)
Creates a new TimeOfDay object, if possible, from the given
parameters. |
TimeOfDay |
TimeOfDayFactory.parse(String timeOfDay)
Creates a new TimeOfDay object, if possible, from the given
string representation. |
TimeOfDay |
TimeOfDayFactory.parse(String hour,
String minute,
String second)
Creates a new TimeOfDay object, if possible, from the given
parameters. |
TimeOfDay |
TimeOfDayFactory.parse(String hour,
String minute,
String second,
String millis)
Creates a new TimeOfDay object, if possible, from the given
parameters. |
TimeOfDay |
TimeOfDay.plusHours(int offset)
Adds or subtracts the given number of hours to this time of day. |
TimeOfDay |
TimeOfDay.plusMillis(int offset)
Adds or subtracts the given number of milliseconds to this time of day. |
TimeOfDay |
TimeOfDay.plusMinutes(int offset)
Adds or subtracts the given number of minutes to this time of day. |
TimeOfDay |
TimeOfDay.plusSeconds(int offset)
Adds or subtracts the given number of seconds to this time of day. |
TimeOfDay |
TimeOfDayFactory.utc()
|
Methods in org.enblom.time with parameters of type TimeOfDay | |
---|---|
Time |
TimeFactory.create(DayDate date,
TimeOfDay timeOfDay)
Creates a new Time instance representing the given time of day
of the given date. |
static long |
TimeUtils.differenceInMillis(TimeOfDay later,
TimeOfDay earlier)
Calculates the difference in milliseconds between the two given times of day. |
boolean |
Time.isAfter(TimeOfDay timeOfDay)
Determines if this is after (inclusive) the given time of day. |
boolean |
Time.isBefore(TimeOfDay timeOfDay)
Determines if this is before (exclusive) the given time of day. |
boolean |
TimeOfDay.isLaterHourThan(TimeOfDay time)
Determines whether this is in a later hour than the given time of day. |
boolean |
TimeOfDay.isLaterMinuteThan(TimeOfDay time)
Determines whether this is in a later minute than the given time of day. |
boolean |
TimeOfDay.isLaterSecondThan(TimeOfDay time)
Determines whether this is in a later second than the given time. |
boolean |
TimeOfDay.isSameHourAs(TimeOfDay time)
Determines whether this is in the same hour as the given time of day. |
boolean |
TimeOfDay.isSameMinuteAs(TimeOfDay time)
Determines whether this is in the same minute (of the same hour) as the given time of day. |
boolean |
TimeOfDay.isSameSecondAs(TimeOfDay time)
Determines whether this is in the same second (of the same minute, and hour) as the given time of day. |
static TimeOfDay |
TimeUtils.max(TimeOfDay t1,
TimeOfDay t2)
Finds the maximum of two times. |
static TimeOfDay |
TimeUtils.min(TimeOfDay t1,
TimeOfDay t2)
Finds the minimum of two times. |
Time |
TimeFactory.parse(String date,
TimeOfDay timeOfDay)
Creates a new Time object, if possible, from the given
parameters. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |