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

◆ GetDayOfYMN()

static bool System.DateTimeParse.GetDayOfYMN ( ref DateTimeResult result,
ref DateTimeRawInfo raw )
inlinestaticprivate

Definition at line 1826 of file DateTimeParse.cs.

1827 {
1828 if ((result.flags & ParseFlags.HaveDate) != 0)
1829 {
1830 result.SetBadDateTimeFailure();
1831 return false;
1832 }
1833 if (SetDateYMD(ref result, raw.year, raw.month, raw.GetNumber(0)))
1834 {
1835 result.flags |= ParseFlags.HaveDate;
1836 return true;
1837 }
1838 result.SetBadDateTimeFailure();
1839 return false;
1840 }
static bool SetDateYMD(ref DateTimeResult result, int year, int month, int day)

References System.DateTimeParse.SetDateYMD().

Referenced by System.DateTimeParse.ProcessHebrewTerminalState(), and System.DateTimeParse.ProcessTerminalState().