Version 1.5.1
C D E F G H I L M N P T U V

C

changeTimeZone(TimeZone, TimeZone) - Method in class hirondelle.date4j.DateTime
Return a DateTime corresponding to a change from one TimeZone to another.
compareTo(DateTime) - Method in class hirondelle.date4j.DateTime
Compare this object to another, for ordering purposes.

D

DateTime - Class in hirondelle.date4j
Building block class for an immutable date-time, with no time zone.
DateTime(String) - Constructor for class hirondelle.date4j.DateTime
Constructor taking a date-time as a String.
DateTime(Integer, Integer, Integer, Integer, Integer, Integer, Integer) - Constructor for class hirondelle.date4j.DateTime
Constructor taking each time unit explicitly.
DateTime.DayOverflow - Enum in hirondelle.date4j
Policy for treating 'day-of-the-month overflow' conditions encountered during some date calculations.
DateTime.Unit - Enum in hirondelle.date4j
The seven parts of a DateTime object.

E

equals(Object) - Method in class hirondelle.date4j.DateTime
Equals method for this object.

F

forDateOnly(Integer, Integer, Integer) - Static method in class hirondelle.date4j.DateTime
Factory method returns a DateTime having year-month-day only, with no time portion.
forInstant(long, TimeZone) - Static method in class hirondelle.date4j.DateTime
Constructor taking a millisecond value and a TimeZone.
forInstantNanos(long, TimeZone) - Static method in class hirondelle.date4j.DateTime
Constructor taking a nanosecond value and a TimeZone.
format(String) - Method in class hirondelle.date4j.DateTime
Output this DateTime as a formatted String using numbers, with no localizable text.
format(String, Locale) - Method in class hirondelle.date4j.DateTime
Output this DateTime as a formatted String using numbers and/or localizable text.
format(String, List<String>, List<String>, List<String>) - Method in class hirondelle.date4j.DateTime
Output this DateTime as a formatted String using numbers and explicit text for months, weekdays, and AM/PM indicator.
forTimeOnly(Integer, Integer, Integer, Integer) - Static method in class hirondelle.date4j.DateTime
Factory method returns a DateTime having hour-minute-second-nanosecond only, with no date portion.

G

getDay() - Method in class hirondelle.date4j.DateTime
Return the Day of the Month, 1..31.
getDayOfYear() - Method in class hirondelle.date4j.DateTime
Return an integer in the range 1..366, representing a count of the number of days from the start of the year.
getEndOfDay() - Method in class hirondelle.date4j.DateTime
Return this DateTime with the time portion coerced to '23:59:59.999999999'.
getEndOfMonth() - Method in class hirondelle.date4j.DateTime
Return this DateTime with the time portion coerced to '23:59:59.999999999', and the day coerced to the end of the month.
getHour() - Method in class hirondelle.date4j.DateTime
Return the Hour, 0..23.
getMilliseconds(TimeZone) - Method in class hirondelle.date4j.DateTime
For the given time zone, return the corresponding time in milliseconds-since-epoch for this DateTime.
getMinute() - Method in class hirondelle.date4j.DateTime
Return the Minute, 0..59.
getModifiedJulianDayNumber() - Method in class hirondelle.date4j.DateTime
Return the Modified Julian Day Number.
getMonth() - Method in class hirondelle.date4j.DateTime
Return the Month, 1..12.
getNanoseconds() - Method in class hirondelle.date4j.DateTime
Return the Nanosecond, 0..999999999.
getNanosecondsInstant(TimeZone) - Method in class hirondelle.date4j.DateTime
For the given time zone, return the corresponding time in nanoseconds-since-epoch for this DateTime.
getNumDaysInMonth() - Method in class hirondelle.date4j.DateTime
Return the number of days in the month which holds this DateTime.
getPrecision() - Method in class hirondelle.date4j.DateTime
Return the smallest non-null time unit encapsulated by this DateTime.
getRawDateString() - Method in class hirondelle.date4j.DateTime
Return the raw date-time String passed to the DateTime.DateTime(String) constructor.
getSecond() - Method in class hirondelle.date4j.DateTime
Return the Second, 0..59.
getStartOfDay() - Method in class hirondelle.date4j.DateTime
Return this DateTime with the time portion coerced to '00:00:00.000000000'.
getStartOfMonth() - Method in class hirondelle.date4j.DateTime
Return this DateTime with the time portion coerced to '00:00:00.000000000', and the day coerced to 1.
getWeekDay() - Method in class hirondelle.date4j.DateTime
Return an index for the weekday for this DateTime.
getWeekIndex(DateTime) - Method in class hirondelle.date4j.DateTime
Return The week index of this DateTime with respect to a given starting DateTime.
getWeekIndex() - Method in class hirondelle.date4j.DateTime
Return The week index of this DateTime, taking day 1 of week 1 as Sunday, January 2, 2000.
getYear() - Method in class hirondelle.date4j.DateTime
Return the year, 1..9999.
gt(DateTime) - Method in class hirondelle.date4j.DateTime
'Greater than' comparison.
gteq(DateTime) - Method in class hirondelle.date4j.DateTime
'Greater than or equal to' comparison.

H

hashCode() - Method in class hirondelle.date4j.DateTime
Hash code for this object.
hasHourMinuteSecond() - Method in class hirondelle.date4j.DateTime
Return true only if this DateTime has a non-null values for hour, minute, and second.
hasYearMonthDay() - Method in class hirondelle.date4j.DateTime
Return true only if this DateTime has a non-null values for year, month, and day.
hirondelle.date4j - package hirondelle.date4j
 

I

isInTheFuture(TimeZone) - Method in class hirondelle.date4j.DateTime
Return true only if this date is in the future, with respect to DateTime.now(TimeZone).
isInThePast(TimeZone) - Method in class hirondelle.date4j.DateTime
Return true only if this date is in the past, with respect to DateTime.now(TimeZone).
isLeapYear() - Method in class hirondelle.date4j.DateTime
Returns true only if the year is a leap year.
isParseable(String) - Static method in class hirondelle.date4j.DateTime
Return true only if the given String follows one of the formats documented by DateTime.DateTime(String).
isSameDayAs(DateTime) - Method in class hirondelle.date4j.DateTime
Return true only if this DateTime has the same year-month-day as the given parameter.

L

lt(DateTime) - Method in class hirondelle.date4j.DateTime
'Less than' comparison.
lteq(DateTime) - Method in class hirondelle.date4j.DateTime
'Less than or equal to' comparison.

M

minus(Integer, Integer, Integer, Integer, Integer, Integer, Integer, DateTime.DayOverflow) - Method in class hirondelle.date4j.DateTime
Create a new DateTime by subtracting an interval to this one.
minusDays(Integer) - Method in class hirondelle.date4j.DateTime
Return a new DateTime by subtracting an integral number of days from this one.

N

now(TimeZone) - Static method in class hirondelle.date4j.DateTime
Return the current date-time.
numDaysFrom(DateTime) - Method in class hirondelle.date4j.DateTime
The whole number of days between this DateTime and the given parameter.
numSecondsFrom(DateTime) - Method in class hirondelle.date4j.DateTime
The number of seconds between this DateTime and the given argument.

P

plus(Integer, Integer, Integer, Integer, Integer, Integer, Integer, DateTime.DayOverflow) - Method in class hirondelle.date4j.DateTime
Create a new DateTime by adding an interval to this one.
plusDays(Integer) - Method in class hirondelle.date4j.DateTime
Return a new DateTime by adding an integral number of days to this one.

T

today(TimeZone) - Static method in class hirondelle.date4j.DateTime
Return the current date.
toString() - Method in class hirondelle.date4j.DateTime
Intended for debugging and logging only.
truncate(DateTime.Unit) - Method in class hirondelle.date4j.DateTime
Truncate this DateTime to the given precision.

U

unitsAllAbsent(DateTime.Unit...) - Method in class hirondelle.date4j.DateTime
Return true only if all of the given units are absent from this DateTime.
unitsAllPresent(DateTime.Unit...) - Method in class hirondelle.date4j.DateTime
Return true only if all of the given units are present in this DateTime.

V

valueOf(String) - Static method in enum hirondelle.date4j.DateTime.DayOverflow
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum hirondelle.date4j.DateTime.Unit
Returns the enum constant of this type with the specified name.
values() - Static method in enum hirondelle.date4j.DateTime.DayOverflow
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum hirondelle.date4j.DateTime.Unit
Returns an array containing the constants of this enum type, in the order they're declared.

C D E F G H I L M N P T U V
Version 1.5.1

Copyright Hirondelle Systems. Published November 19, 2013