using System;
using System.Globalization;
public class SamplesGregorianCalendar {
public static void Main() {
String strADPunc = "A.D.";
String strADNoPunc = "AD";
String strCEPunc = "C.E.";
String strCENoPunc = "CE";
foreach ( CultureInfo myCI in CultureInfo.GetCultures( CultureTypes.SpecificCultures ) ) {
Console.Write(myCI );
Console.Write(myCI.DateTimeFormat.GetEra( strADPunc ));
Console.Write(myCI.DateTimeFormat.GetEra( strADNoPunc ) );
Console.Write(myCI.DateTimeFormat.GetEra( strCEPunc ));
Console.Write(myCI.DateTimeFormat.GetEra( strCENoPunc ) );
Console.Write(myCI.Calendar );
}
}
}