Add a ZonedTime type #5937
Labels
C-datetime
Component: datetime, calendars, time zones
C-time-zone
Component: Time Zones
S-small
Size: One afternoon (small bug fix or enhancement)
Milestone
It can live next to ZonedDateTime.
Why: in order to use TimeFormatter to format a time and a zone together.
Other solutions considered but infeasible:
()
calendarInFixedCalendar<()> for ZonedDateTime
: no, this breaks type inference for everyone elseformat_any_calendar
to TimeFormatter: possible, but seems confusing; ZonedTime is better@Manishearth @robertbastian
The text was updated successfully, but these errors were encountered: