// Token: 0x06003006 RID: 12294 RVA: 0x000B8884 File Offset: 0x000B6A84 internal static string[] EnglishEraNames() { EraInfo[] eraInfo = JapaneseCalendar.GetEraInfo(); string[] array = new string[eraInfo.Length]; for (int i = 0; i < eraInfo.Length; i++) { array[i] = eraInfo[eraInfo.Length - i - 1].englishEraName; } return(array); }
/// <summary>初始化 <see cref="T:System.Globalization.JapaneseCalendar" /> 类的新实例。</summary> /// <exception cref="T:System.TypeInitializationException">由于缺少区域性信息,所以无法初始化 <see cref="T:System.Globalization.JapaneseCalendar" /> 对象。</exception> public JapaneseCalendar() { try { CultureInfo cultureInfo = new CultureInfo("ja-JP"); } catch (ArgumentException ex) { throw new TypeInitializationException(this.GetType().FullName, (Exception)ex); } this.helper = new GregorianCalendarHelper((Calendar)this, JapaneseCalendar.GetEraInfo()); }
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.JapaneseCalendar" /> class.</summary> /// <exception cref="T:System.TypeInitializationException">Unable to initialize a <see cref="T:System.Globalization.JapaneseCalendar" /> object because of missing culture information.</exception> // Token: 0x06002FEF RID: 12271 RVA: 0x000B8624 File Offset: 0x000B6824 public JapaneseCalendar() { try { new CultureInfo("ja-JP"); } catch (ArgumentException innerException) { throw new TypeInitializationException(base.GetType().FullName, innerException); } this.helper = new GregorianCalendarHelper(this, JapaneseCalendar.GetEraInfo()); }
internal static string[] EnglishEraNames() { EraInfo[] eraInfo = JapaneseCalendar.GetEraInfo(); string[] strArray1 = new string[eraInfo.Length]; for (int index1 = 0; index1 < eraInfo.Length; ++index1) { string[] strArray2 = strArray1; int index2 = index1; EraInfo[] eraInfoArray = eraInfo; int index3 = eraInfoArray.Length - index1 - 1; string str = eraInfoArray[index3].englishEraName; strArray2[index2] = str; } return(strArray1); }
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.JapaneseLunisolarCalendar" /> class. </summary> // Token: 0x06002F38 RID: 12088 RVA: 0x000B511A File Offset: 0x000B331A public JapaneseLunisolarCalendar() { this.helper = new GregorianCalendarHelper(this, JapaneseLunisolarCalendar.TrimEras(JapaneseCalendar.GetEraInfo())); }