Home | History | Annotate | Download | only in src

Lines Matching refs:YEAR

20   int year = 0;  // Default year is 0 (=> 2000) for KJS compatibility.
27 year = comp_[0];
34 if (index_ == 3) year = comp_[2];
43 year = comp_[0];
48 year = comp_[1];
53 if (Between(year, 0, 49)) year += 2000;
54 else if (Between(year, 50, 99)) year += 1900;
57 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
59 output->set(YEAR, Smi::FromInt(year));