ecma_date_make_date (ecma_number_t day, /**< day value */
                     ecma_number_t time) /**< time value */
{
  if (!ecma_number_is_finite (day)
      || !ecma_number_is_finite (time))
  {
    return ecma_number_make_nan ();
  }

  return day + time;
} /* ecma_date_make_date */
ecma_date_make_date (ecma_number_t day,  
                     ecma_number_t time)  
{
  if (!ecma_number_is_finite (day)
      || !ecma_number_is_finite (time))
  {
    return ecma_number_make_nan ();
  }

  return day + time;
}  