ISO 8601 represents a date as YYYY-MM-DD
.
It doesn't seem to offer any recommendation on how to represent a date range, for example:
2013-01-01 => 2013-06-31
Does ISO 8601, or another standard, give a sensible recommendation for representing date ranges?
Background: this is to be used as the output of the toString()
method of a DateRange
object, output which could then be parsed with a parse()
method.