asUtc method

DateTime asUtc()

Builds a UTC DateTime using this date's components.

Implementation

DateTime asUtc() => DateTime.utc(
  year,
  month,
  day,
  hour,
  minute,
  second,
  millisecond,
  microsecond,
);