Java org.joda.time DateTimeUtils fields, constructors, methods, implement or subclass

Example usage for Java org.joda.time DateTimeUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.joda.time DateTimeUtils.

The text is from its open source code.

Subclass

org.joda.time.DateTimeUtils has subclasses.
Click this link to see all its subclasses.

Method

longcurrentTimeMillis()
Gets the current time in milliseconds.
longfromJulianDay(double julianDay)
Creates a date-time from a Julian Day.
ChronologygetChronology(Chronology chrono)
Gets the chronology handling null.
ChronologygetInstantChronology(ReadableInstant instant)
Gets the chronology from the specified instant object handling null.
longgetInstantMillis(ReadableInstant instant)
Gets the millisecond instant from the specified instant object handling null.
PeriodTypegetPeriodType(PeriodType type)
Gets the period type handling null.
DateTimeZonegetZone(DateTimeZone zone)
Gets the zone handling null.
voidsetCurrentMillisFixed(long fixedMillis)
Sets the current time to return a fixed millisecond time.
voidsetCurrentMillisOffset(long offsetMillis)
Sets the current time to return the system time plus an offset.
voidsetCurrentMillisProvider(MillisProvider millisProvider)
Sets the provider of the current time to class specified.
voidsetCurrentMillisSystem()
Resets the current time to return the system time.
doubletoJulianDay(long epochMillis)
Calculates the astronomical Julian Day for an instant.
longtoJulianDayNumber(long epochMillis)
Calculates the astronomical Julian Day Number for an instant.