OffsetTime.fromDayMilliseconds constructor

OffsetTime.fromDayMilliseconds(
  1. Offset offset,
  2. DayMilliseconds milliseconds
)

Creates a OffsetTime with the offset and milliseconds since midnight, wrapping around midnight.

OffsetTime.fromDayMilliseconds(Offset(8), 43200000); // 12:00+08:00

OffsetTime.fromDayMilliseconds(Offset(8), 86400000); // 00:00+08:00

Implementation

OffsetTime.fromDayMilliseconds(this.offset, super.milliseconds): super.fromDayMilliseconds();