TimezoneConstructorExt extension
Extension for creating timezone-aware Hora instances.
- on
Static Methods
-
fromUtcMilliseconds(
int milliseconds, {HoraTimezone timezone = HoraTimezone.utc}) → Hora -
Available on Hora, provided by the TimezoneConstructorExt extension
Creates a Hora from UTC milliseconds with timezone info. -
nowIn(
HoraTimezone timezone) → Hora -
Available on Hora, provided by the TimezoneConstructorExt extension
Creates a Hora representing "now" in a specific timezone.