Example usage for Java org.joda.time DateTimeUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
long | currentTimeMillis() Gets the current time in milliseconds. |
long | fromJulianDay(double julianDay) Creates a date-time from a Julian Day. |
Chronology | getChronology(Chronology chrono) Gets the chronology handling null. |
Chronology | getInstantChronology(ReadableInstant instant) Gets the chronology from the specified instant object handling null. |
long | getInstantMillis(ReadableInstant instant) Gets the millisecond instant from the specified instant object handling null. |
PeriodType | getPeriodType(PeriodType type) Gets the period type handling null. |
DateTimeZone | getZone(DateTimeZone zone) Gets the zone handling null. |
void | setCurrentMillisFixed(long fixedMillis) Sets the current time to return a fixed millisecond time. |
void | setCurrentMillisOffset(long offsetMillis) Sets the current time to return the system time plus an offset. |
void | setCurrentMillisProvider(MillisProvider millisProvider) Sets the provider of the current time to class specified. |
void | setCurrentMillisSystem() Resets the current time to return the system time. |
double | toJulianDay(long epochMillis) Calculates the astronomical Julian Day for an instant. |
long | toJulianDayNumber(long epochMillis) Calculates the astronomical Julian Day Number for an instant. |