Definition at line 525 of file Utf8Parser.cs.
  526    {
  528        {
  530            return false;
  531        }
  532        if ((uint)(month - 1) >= 12u)
  533        {
  535            return false;
  536        }
  537        uint num = (uint)(day - 1);
  538        if (num >= 28 && num >= 
DateTime.DaysInMonth(
year, month))
 
  539        {
  541            return false;
  542        }
  543        if ((uint)hour > 23u)
  544        {
  546            return false;
  547        }
  548        if ((uint)minute > 59u)
  549        {
  551            return false;
  552        }
  554        {
  556            return false;
  557        }
  560        int num3 = num2 * 365 + num2 / 4 - num2 / 100 + num2 / 400 + 
array[month - 1] + day - 1;
 
  561        long num4 = num3 * 864000000000
L;
 
  562        int num5 = hour * 3600 + minute * 60 + 
second;
 
  563        num4 += (long)num5 * 10000000
L;
 
  564        num4 += fraction;
  566        return true;
  567    }
static readonly int[] s_daysToMonth366
 
static readonly int[] s_daysToMonth365
 
 
References System.array, System.DateTime, System.DateTime.DaysInMonth(), System.DateTime.IsLeapYear(), System.L, System.Buffers.Text.Utf8Parser.s_daysToMonth365, System.Buffers.Text.Utf8Parser.s_daysToMonth366, System.value, and System.year.
Referenced by System.Buffers.Text.Utf8Parser.TryCreateDateTimeOffset(), and System.Buffers.Text.Utf8Parser.TryCreateDateTimeOffsetInterpretingDataAsLocalTime().