Global Date Time
Represents the XML Schema dateTime type with zone offset.
Functions
Compare this dateTime with another dateTime.
Return a clone of this value if it (together with all value subcomponents) is possibly mutable, or return this value if it (together with all value subcomponents) is definitely immutable. The resulting value might share mutable metadata with this query.
Compare this dateTime value with another dateTime value.
Compare this dateTime value with another dateTime value.
Compare this dateTime value with another dateTime value.
Compare this dateTime value with another dateTime value.
Return the difference this - value, measured in days.
Normalize this dateTime value to UTC. For example "2000-01-01T14:00:00+12:00" would normalize to "2000-01-01T02:00:00Z"
Compare this dateTime value with another dateTime value.
Return a new dateTime which is the specified number of days ahead of this dateTime.
Return a new dateTime which is the specified number of hours ahead of this dateTime.
Return a new dateTime which is the specified number of microseconds ahead of this dateTime.
Return a new dateTime which is the specified number of milliseconds ahead of this dateTime.
Return a new dateTime which is the specified number of minutes ahead of this dateTime.
Return a new dateTime/time which is the specified number of months ahead of this dateTime.
Return a new dateTime which is the specified number of nanoseconds ahead of this dateTime.
Return a new dateTime which is the specified number of seconds ahead of this dateTime.
Return a new dateTime which is the specified number of weeks ahead of this dateTime.
Return a new dateTime which is the specified number of years ahead of this dateTime.
Convert to java.util.Date.
Convert to java.time.OffsetDateTime.
Return this local date and time portion of this value, without zone offset.
- See Also:
-
{@link com.sap.cloud.mobile.kotlin.odata.GlobalDateTime#normalize() GlobalDateTime.normalize}.
Convert this data value to a string. If the {@link com.sap.cloud.mobile.kotlin.odata.GlobalDateTime#dataType GlobalDateTime.dataType} is defined by XML Schema Part 2: Datatypes, then the corresponding lexical format is used. JSON format is used for structured values (arrays and objects).
Return a dateTime value with all fields the same as the current dateTime value except for the zone offset.