次の方法で共有


GregorianCalendar.ADEra フィールド

現在の時代 (年号) を表します。このフィールドは定数です。

Public Const ADEra As Integer
[C#]
public const int ADEra;
[C++]
public: const int ADEra;
[JScript]
public var ADEra : int;

解説

グレゴリオ暦では、B.C (Before Christ: キリスト以前) または B.C.E (Before Common Era: 紀元前)、および A.D (ラテン語で "主の年" を意味する "Anno Domini") または C.E. (Common Era: 紀元) の 2 つの時代 (年号) が認識されます。 GregorianCalendar クラスのこの実装は、現在の時代 (年号) (A.D または C.E) だけを認識します。このフィールドは、常に 1 を返します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

GregorianCalendar クラス | GregorianCalendar メンバ | System.Globalization 名前空間 | CurrentEra | Eras