By: Diego Coronel, Roland Tepp
Values
timeZoneSource Code
shared timeZone timeZone

This constant represents common operations for time zone.

At same time it hold objects references for most commons used time zones around world.

Examples:

  • UTC
  • System (current machine offset)
Functions
parseTimeZoneSource Code
shared TimeZone|ParserError parseTimeZone(String offset)

Timezone offset parser based on ISO-8601, currently it accepts the following time zone offset patterns: ±[hh]:[mm], ±[hh][mm], and ±[hh]

In addition, the special code Z is recognized as a shorthand for +00:00

zoneDateTimeSource Code
shared ZoneDateTime zoneDateTime(TimeZone timeZone, Integer year, Integer|Month month, Integer date, Integer hour = 0, Integer minutes = 0, Integer seconds = 0, Integer millis = 0)

Returns a ZoneDateTime based on the specified TimeZone, year, month, day of month, hour, minute, second and millisecond values.

Parameters:
  • hour = 0
  • minutes = 0
  • seconds = 0
  • millis = 0
Interfaces
RuleBasedTimezoneSource Code

This represents offsets based on daylight saving time.

TimeZoneSource Code
shared TimeZone

The interface representing a timezone.

ZoneDateTimeSource Code

Instant of time in a specific time zone.

Classes
OffsetTimeZoneSource Code

A simple time zone with a constant offset from UTC.

ParserErrorSource Code

Represents the problem that occured while parsing. It can be recovered from message field

timeZoneSource Code
shared timeZone

This constant represents common operations for time zone.

At same time it hold objects references for most commons used time zones around world.

Examples:

  • UTC
  • System (current machine offset)