inUtc method

ZonedClock inUtc()

Constructs a ZonedClock from a clock (the target of the method), using the UTC time zone and ISO calendar system.

  • clock: Clock to use in the returned object.

Returns: A ZonedClock with the given clock, in the UTC time zone and ISO calendar system.

Implementation

ZonedClock inUtc() => ZonedClock(this, DateTimeZone.utc, CalendarSystem.iso);