system\globalization\datetimeparse.cs (38)
1499int n1 = raw.GetNumber(0);
1500int n2 = raw.GetNumber(1);
1538int n1 = raw.GetNumber(0);
1539int n2 = raw.GetNumber(1);;
1540int n3 = raw.GetNumber(2);
1611if (!TryAdjustYear(ref result, raw.GetNumber(0), out year) || !SetDateYMD(ref result, year, raw.month, 1)) {
1620if (!SetDateYMD(ref result, result.Year, raw.month, raw.GetNumber(0))) {
1644if (result.calendar.IsValidDay(result.Year, result.Month, raw.GetNumber(0), result.era))
1646result.Day = raw.GetNumber(0);
1687if (!TryAdjustYear(ref result, raw.GetNumber(0), out year) || !SetDateYMD(ref result, year, raw.month, 1)) {
1696if (!SetDateYMD(ref result, result.Year, raw.month, raw.GetNumber(0))) {
1711int n1 = raw.GetNumber(0);
1712int n2 = raw.GetNumber(1);
1779int n1 = raw.GetNumber(0);
1780int n2 = raw.GetNumber(1);
1809int n1 = raw.GetNumber(0);
1810int n2 = raw.GetNumber(1);
1842if (SetDateYMD(ref result, raw.year, raw.month, raw.GetNumber(0))) {
1858if (SetDateYMD(ref result, raw.year, raw.GetNumber(0), 1))
1942result.Hour = raw.GetNumber(0);
1956result.Hour = raw.GetNumber(0);
1957result.Minute = raw.GetNumber(1);
1970result.Hour = raw.GetNumber(0);
1971result.Minute = raw.GetNumber(1);
1972result.Second = raw.GetNumber(2);
1987result.Day = raw.GetNumber(0);
2005if (!TryAdjustYear(ref result, raw.GetNumber(0), out result.Year))
2024if (TryAdjustYear(ref result, raw.year, out result.Year) && SetDateYMD(ref result, result.Year, raw.GetNumber(0), raw.GetNumber(1))) {
2038if (TryAdjustYear(ref result, raw.GetNumber(0), out year) && SetDateYMD(ref result, year, result.Month, raw.GetNumber(1))) {
2043if (TryAdjustYear(ref result, raw.GetNumber(1), out year) && SetDateYMD(ref result, year, result.Month, raw.GetNumber(0))){
2120raw.year = raw.GetNumber(1);
2755if (raw.year < 0 || raw.GetNumber(0) < 0 || raw.GetNumber(1) < 0) {
2831if (!calendar.TryToDateTime(raw.year, raw.GetNumber(0), raw.GetNumber(1),