7 writes to month
mscorlib (7)
system\globalization\datetimeparse.cs (7)
1005
raw.
month
= tokenValue;
2072
result.Month= raw.
month
= dtok.num;
2121
if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.
month
, true)) {
2131
if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.
month
, true)) {
2143
if (!dtfi.YearMonthAdjustment(ref result.Year, ref raw.
month
, true)) {
2153
if (!dtfi.YearMonthAdjustment(ref raw.year, ref raw.
month
, true)) {
4937
month
= -1;
20 references to month
mscorlib (20)
system\globalization\datetimeparse.cs (20)
958
if (raw.
month
== -1)
1611
if (!TryAdjustYear(ref result, raw.GetNumber(0), out year) || !SetDateYMD(ref result, year, raw.
month
, 1)) {
1620
if (!SetDateYMD(ref result, result.Year, raw.
month
, raw.GetNumber(0))) {
1641
result.Month = raw.
month
;
1687
if (!TryAdjustYear(ref result, raw.GetNumber(0), out year) || !SetDateYMD(ref result, year, raw.
month
, 1)) {
1696
if (!SetDateYMD(ref result, result.Year, raw.
month
, raw.GetNumber(0))) {
1723
if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.
month
, n1, result.era))
1725
result.SetDate(year, raw.
month
, n1); // MDY
1729
else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.
month
, n2, result.era))
1731
result.SetDate(year, raw.
month
, n2); // YMD
1738
if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.
month
, n2, result.era))
1740
result.SetDate(year, raw.
month
, n2); // YMD
1744
else if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.
month
, n1, result.era))
1746
result.SetDate(year, raw.
month
, n1); // DMY
1753
if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.
month
, n1, result.era))
1755
result.SetDate(year, raw.
month
, n1); // DMY
1759
else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.
month
, n2, result.era))
1761
result.SetDate(year, raw.
month
, n2); // YMD
1842
if (SetDateYMD(ref result, raw.year, raw.
month
, raw.GetNumber(0))) {
1875
if (SetDateYMD(ref result, raw.year, raw.
month
, 1))