DateTime
This class is part of an Early Access feature, and is subject to change in the future.
A date-time with a time-zone in the ISO-8601 calendar system.
DateTime API
long
String
int
Calendar
getEpochTime()
getEpochTime()
Returns the epoch time.
getTimezoneId()
getTimezoneId()
Returns the timezone ID. See java.util.TimeZone.
getTimezoneOffsetInMinutes()
getTimezoneOffsetInMinutes()
Returns the timezone offset in minutes.
toCalendar()
toCalendar()
Returns a Calendar representation of this object.
Last updated