|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DayDate in org.enblom.time |
---|
Methods in org.enblom.time that return DayDate | |
---|---|
DayDate |
DayDateFactory.deserialize(String date)
Creates a new DayDate object with date of the given string
serialization, as returned by serialize() |
DayDate |
DayDateFactory.fromInt(int date)
Converts an int , as returned from toInt() to
a DayDate object. |
DayDate |
Time.getDate()
|
DayDate |
DayDateFactory.getDefault()
Returns a default date value: 1970-01-01 (the UNIX epoch date). |
static DayDate |
TimeUtils.max(DayDate d1,
DayDate d2)
Finds the maximum of two dates. |
static DayDate |
TimeUtils.min(DayDate d1,
DayDate d2)
Finds the minimum of two dates. |
DayDate |
DayDateFactory.now()
|
DayDate |
DayDateFactory.parse(int year,
int month,
int day)
Creates a new DayDate object, if possible, from the given
parameters. |
DayDate |
DayDateFactory.parse(String date)
Creates a new DayDate object, if possible, from the given
string representation. |
DayDate |
DayDateFactory.parse(String year,
String month,
String day)
Creates a new DayDate object, if possible, from the given
parameters. |
DayDate |
DayDate.plusDays(int offset)
Adds or subtracts the given number of days to this date. |
DayDate |
DayDate.plusMonths(int offset)
Adds or subtracts the given number of months to this date. |
DayDate |
DayDate.plusYears(int offset)
Adds or subtracts the given number of years to this date. |
DayDate |
DayDateFactory.utc()
|
Methods in org.enblom.time with parameters of type DayDate | |
---|---|
Time |
TimeFactory.create(DayDate date,
TimeOfDay timeOfDay)
Creates a new Time instance representing the given time of day
of the given date. |
static int |
TimeUtils.differenceInDays(DayDate later,
DayDate earlier)
Calculates the difference in whole days between the two given date. |
boolean |
DayDate.isLaterMonthThan(DayDate date)
Determines whether this is in a later month than the given date. |
boolean |
DayDate.isLaterYearThan(DayDate date)
Determines whether this is in a later year than the given date. |
boolean |
DayDate.isSameMonthAs(DayDate date)
Determines whether this is in the same month and the same year as the given date. |
boolean |
DayDate.isSameYearAs(DayDate date)
Determines whether this is in the same year as the given date. |
static DayDate |
TimeUtils.max(DayDate d1,
DayDate d2)
Finds the maximum of two dates. |
static DayDate |
TimeUtils.min(DayDate d1,
DayDate d2)
Finds the minimum of two dates. |
Time |
TimeFactory.parse(DayDate date,
int hour,
int minute,
int second)
Creates a new Time object, if possible, from the given
parameters. |
Time |
TimeFactory.parse(DayDate date,
int hour,
int minute,
int second,
int millis)
Creates a new Time object, if possible, from the given
parameters. |
Time |
TimeFactory.parse(DayDate date,
String hour,
String minute,
String second)
Creates a new Time object, if possible, from the given
parameters. |
Time |
TimeFactory.parse(DayDate date,
String hour,
String minute,
String second,
String millis)
Creates a new Time object, if possible, from the given
parameters. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |