toUtc method

PreciseDateTime toUtc()

Returns this PreciseDateTime value in the UTC time zone.

Implementation

PreciseDateTime toUtc() =>
    PreciseDateTime(val.toUtc(), microsecond: microsecond);