Home | History | Annotate | Download | only in src

Lines Matching full:year

42   int year = 0;  // Default year is 0 (=> 2000) for KJS compatibility.
49 year = comp_[0];
56 if (index_ == 3) year = comp_[2];
65 year = comp_[0];
70 year = comp_[1];
75 if (Between(year, 0, 49)) year += 2000;
76 else if (Between(year, 50, 99)) year += 1900;
79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
81 output->set(YEAR, Smi::FromInt(year));