TZDateTime.utc constructor

TZDateTime.utc(
  1. int year, [
  2. int month = 1,
  3. int day = 1,
  4. int hour = 0,
  5. int minute = 0,
  6. int second = 0,
  7. int millisecond = 0,
  8. int microsecond = 0,
])

Constructs a TZDateTime instance specified in the UTC time zone.

final dDay = TZDateTime.utc(1944, TZDateTime.JUNE, 6);

Implementation

TZDateTime.utc(int year,
    [int month = 1,
    int day = 1,
    int hour = 0,
    int minute = 0,
    int second = 0,
    int millisecond = 0,
    int microsecond = 0])
    : this(UTC, year, month, day, hour, minute, second, millisecond,
          microsecond);