DateTimeUtils extension

Common methods to work with DateTime data.

on

Properties

secondsSinceEpoch int

Available on DateTime, provided by the DateTimeUtils extension

The number of seconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setter

Static Methods

fromSecondsSinceEpoch(Location location, int secondsSinceEpoch) → TZDateTime

Available on DateTime, provided by the DateTimeUtils extension

Constructs a new tz.TZDateTime instance with the given secondsSinceEpoch.