CalendarSystem ForId Method Noda Time
Fetches a calendar system by its unique identifier. This provides full round-tripping of a calendar system. It is not guaranteed that calling this method twice with the same identifier will return identical references, but the references objects will be equal.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public static CalendarSystem ForId(
	string id
)

Parameters

id
Type: OnlineSystem String
The ID of the calendar system. This is case-sensitive.

Return Value

Type: CalendarSystem
The calendar system with the given ID.
Exceptions

Version Information

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