Noda Time
ForId Method (id)
NamespacesNodaTimeCalendarSystemForId(String)
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.
Declaration Syntax
C#Visual BasicVisual C++
public static CalendarSystem ForId(
	string id
)
Public Shared Function ForId ( 
	id As String
) As CalendarSystem
public:
static CalendarSystem^ ForId(
	String^ id
)
Parameters
id (String)
The ID of the calendar system. This is case-sensitive.
Return Value
CalendarSystem
The calendar system with the given ID.
Exceptions
ExceptionCondition
KeyNotFoundExceptionNo calendar system for the specified ID can be found.
See Also

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