OffsetTime constructor

OffsetTime(
  1. Offset offset, [
  2. int hour = 0,
  3. int minute = 0,
  4. int second = 0,
  5. int millisecond = 0,
  6. int microsecond = 0,
])

Creates a OffsetTime.

OffsetTime(Offset(8), 12, 39, 59, 999, 999); // 12:39:59:999999+08:00

OffsetTime(Offset(8), 25); // '01:00+08:00'

OffsetTime(Offset(8), -1); // '23:00+08:00'

Implementation

OffsetTime(this.offset, [super.hour = 0, super.minute = 0, super.second = 0, super.millisecond = 0, super.microsecond = 0]);