TimestampOffset.withDateOnlyTimeOnlyAndOffset constructor

TimestampOffset.withDateOnlyTimeOnlyAndOffset({
  1. required DateOnly dateOnly,
  2. required TimeOnly timeOnly,
  3. required TimeZoneOffset timeZoneOffset,
})

Creates a new timestamp offset object from the provided date, time, and time zone offset.

Parameters:

  • dateOnly — The date only.
  • timeOnly — The time only.
  • timeZoneOffset — The offset that indicates how far ahead or behind the local date time is relative to UTC.