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

◆ GregorianIsLeapYear()

static bool System.Globalization.EastAsianLunisolarCalendar.GregorianIsLeapYear ( int y)
inlinestaticprivateinherited

Definition at line 197 of file EastAsianLunisolarCalendar.cs.

198 {
199 if (y % 4 != 0)
200 {
201 return false;
202 }
203 if (y % 100 != 0)
204 {
205 return true;
206 }
207 return y % 400 == 0;
208 }

Referenced by System.Globalization.EastAsianLunisolarCalendar.GregorianToLunar(), and System.Globalization.EastAsianLunisolarCalendar.LunarToGregorian().