System.Xml.Schema.XsdDateTime.Parser.ParseDate C# (CSharp) Méthode

ParseDate() private méthode

private ParseDate ( int start ) : bool
start int
Résultat bool
            private bool ParseDate(int start) {
                return  
                    Parse4Dig(start ,         ref year) && 1 <= year &&
                    ParseChar(start + Lzyyyy,     '-') &&
                    Parse2Dig(start + Lzyyyy_,    ref month) && 1 <= month && month <= 12 &&
                    ParseChar(start + Lzyyyy_MM,  '-') &&
                    Parse2Dig(start + Lzyyyy_MM_, ref day) && 1 <= day && day <= DateTime.DaysInMonth(year, month);
            }