ecma_date_days_in_year (int32_t year) /**< year */
{
  if (year % 4 != 0
      || (year % 100 == 0 && (year % 400 != 0)))
  {
    return ECMA_DATE_DAYS_IN_YEAR;
  }

  return ECMA_DATE_DAYS_IN_LEAP_YEAR;
} /* ecma_date_days_in_year */
ecma_date_days_in_year (int32_t year)  
{
  if (year % 4 != 0
      || (year % 100 == 0 && (year % 400 != 0)))
  {
    return ECMA_DATE_DAYS_IN_YEAR;
  }

  return ECMA_DATE_DAYS_IN_LEAP_YEAR;
}  