[This is preliminary documentation and is subject to change.]
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.

C# | Visual Basic | Visual C++ |
public static CalendarSystem ForId( string id )
Public Shared Function ForId ( _ id As String _ ) As CalendarSystem
public: static CalendarSystem^ ForId( String^ id )

- id (String)
- The ID of the calendar system. This is case-sensitive.

The calendar system with the given ID.

Exception | Condition |
---|---|
KeyNotFoundException | No calendar system for the specified ID can be found. |

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)