For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

getEpochTime()

long getEpochTime()

Returns the epoch time.

getTimezoneId()

String getTimezoneId()

Returns the timezone ID. See java.util.TimeZone.

getTimezoneOffsetInMinutes()

Returns the timezone offset in minutes.

toCalendar()

Returns a Calendar representation of this object.

Last updated