DateTime
A date-time with a time-zone in the ISO-8601 calendar system.
DateTime API
long
String
int
Calendar
getEpochTime()
getEpochTime()
long getEpochTime()
Returns the epoch time.
getTimezoneId()
getTimezoneId()
String getTimezoneId()
Returns the timezone ID. See java.util.TimeZone.
getTimezoneOffsetInMinutes()
getTimezoneOffsetInMinutes()
int getTimezoneOffsetInMinutes()
Returns the timezone offset in minutes.
toCalendar()
toCalendar()
Calendar toCalendar()
Returns a Calendar representation of this object.
Last updated