A closing time before its opening time, less than a day before it, is a
past-midnight close stamped with the opening date: an event night of 19:00
to "00:00" or "01:00", or a late opening to midnight, written on the date it
opened. Returns the same wall-clock time on the next calendar day, or null
when the pair needs no change (close after open, unparseable, or a close a
full day or more before the open, which is not this shape).
A close equal to the opening is left alone. Sources use it for a point in
time whose length is unknown, such as a show performance with only a start
time, and reading it as a 24 h window would turn every such performance into
a day-long one.
With a real IANA tz the offset is recomputed, so a close on the night the
clocks change gets the right one. With no zone (or the 'UTC' default while
the string carries another offset) the string's own offset is kept.
A closing time before its opening time, less than a day before it, is a past-midnight close stamped with the opening date: an event night of 19:00 to "00:00" or "01:00", or a late opening to midnight, written on the date it opened. Returns the same wall-clock time on the next calendar day, or null when the pair needs no change (close after open, unparseable, or a close a full day or more before the open, which is not this shape).
A close equal to the opening is left alone. Sources use it for a point in time whose length is unknown, such as a show performance with only a start time, and reading it as a 24 h window would turn every such performance into a day-long one.
With a real IANA
tzthe offset is recomputed, so a close on the night the clocks change gets the right one. With no zone (or the 'UTC' default while the string carries another offset) the string's own offset is kept.