Skip to content

Add ESMF class corresponding to the ISO 8601 time interval string #96

@darianboggs

Description

@darianboggs

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.

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions