NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Calendar.GetEra (DateTime)

Returns the era for the specified DateTime.

[Visual Basic]
Overloads MustOverride Public Function GetEra( _
   ByVal time As DateTime _
) As Integer
[C#]
public abstract int GetEra(
   DateTime time
);
[C++]
public: virtual int GetEra(
   DateTime time
) = 0;
[JScript]
public abstract function GetEra(
   time : DateTime
) : int;

Parameters

time
The DateTime instance.

Return Value

The era for the specified DateTime value.

See Also

Calendar Class | Calendar Members | System.Globalization Namespace | Calendar.GetEra Overload List