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

◆ GetDayOfYM()

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

Definition at line 1858 of file DateTimeParse.cs.

1859 {
1860 if ((result.flags & ParseFlags.HaveDate) != 0)
1861 {
1862 result.SetBadDateTimeFailure();
1863 return false;
1864 }
1865 if (SetDateYMD(ref result, raw.year, raw.month, 1))
1866 {
1867 result.flags |= ParseFlags.HaveDate;
1868 return true;
1869 }
1870 result.SetBadDateTimeFailure();
1871 return false;
1872 }
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().