DateInterval ToString Method Noda Time

[This is preliminary documentation and is subject to change.]

Returns a string representation of this interval.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: (

public override string ToString()

Return Value

Type: OnlineString
A string representation of this interval, as [start, end] for inclusive intervals, or [start, end) for exclusive intervals, where "start" and "end" are the dates formatted using an ISO-8601 compatible pattern.
Version Information

Available since: 2.0.0
Supported in the PCL? Yes
See Also