Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FormatHebrewMonthName()

static string System.DateTimeFormat.FormatHebrewMonthName ( DateTime time,
int month,
int repeatCount,
DateTimeFormatInfo dtfi )
inlinestaticprivate

Definition at line 90 of file DateTimeFormat.cs.

91 {
92 if (dtfi.Calendar.IsLeapYear(dtfi.Calendar.GetYear(time)))
93 {
94 return dtfi.InternalGetMonthName(month, MonthNameStyles.LeapYear, repeatCount == 3);
95 }
96 if (month >= 7)
97 {
98 month++;
99 }
100 if (repeatCount == 3)
101 {
102 return dtfi.GetAbbreviatedMonthName(month);
103 }
104 return dtfi.GetMonthName(month);
105 }

Referenced by System.DateTimeFormat.FormatCustomized().