-
Notifications
You must be signed in to change notification settings - Fork 88
Description
ESMF needs a class to represent specific intervals in time.
Though ESMF has the ESMF_Time and ESMF_TimeInterval classes corresponding to ISO 8601 combined <date>T<time> strings and ISO 8601 time duration <duration> strings, respectively, there is no class corresponding to ISO 8601 time interval strings representing a specific interval in time representing a span from a start date and time to a end date and time. Though ISO 8601 allows four different strings,
<start>/<end>,
<start>/<duration>,
<duration>/<end>, and
<duration>,
for such time intervals, an ESMF class for such a time interval would only need an internal representation using two ESMF_Time objects or a combination of an ESMF_Time object, a ESMF_TimeInterval object, and a flag indicating if the ESMF_Time object represents the start or end of the time interval.