Lines Matching refs:Month
46 // The recognized month formats are "Jan" and "January".
119 stdNeedDate = 1 << 8 // need month, day, year
129 // Its purpose is to prevent matching strings like "Month" when looking for "Mon".
468 month Month
485 // Compute year, month, day if needed.
487 year, month, day, _ = absDate(abs, true)
505 b = append(b, month.String()[:3]...)
507 m := month.String()
510 b = appendInt(b, int(month), 0)
512 b = appendInt(b, int(month), 2)
728 // No checking is done that the day of the month is within the month's
764 month int = 1 // January
813 month, value, err = lookup(shortMonthNames, value)
815 month, value, err = lookup(longMonthNames, value)
817 month, value, err = getnum(value, std == stdZeroMonth)
818 if month <= 0 || 12 < month {
819 rangeErrString = "month"
1014 // Validate the day of the month.
1015 if day < 1 || day > daysIn(Month(month), year) {
1020 return Date(year, Month(month), day, hour, min, sec, nsec, z), nil
1024 t := Date(year, Month(month), day, hour, min, sec, nsec, UTC)
1041 t := Date(year, Month(month), day, hour, min, sec, nsec, UTC)
1061 return Date(year, Month(month), day, hour, min, sec, nsec, defaultLocation), nil