Utc Offset
An offset from UTC.
Examples of these values:
Z
, an offset of zero;+05
, plus five hours;-02
, minus two hours;+03:30
, plus three hours and thirty minutes;+01:23:45
, plus one hour, 23 minutes, and 45 seconds.
Functions
Link copied to clipboard
Returns the fixed-offset time zone with the given UTC offset.
Link copied to clipboard
Formats this value using the given format. Equivalent to calling DateTimeFormat.format on format with this
.
Link copied to clipboard
Converts this kotlinx.datetime.UtcOffset value to a java.time.ZoneOffset value.