Home
last modified time | relevance | path

Searched refs:ECMA_DATE_MS_PER_DAY (Results 1 – 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers-date.c59 return (ecma_number_t) floor (time / ECMA_DATE_MS_PER_DAY); in ecma_date_day()
75 ecma_number_t modulo = fmod (time, ECMA_DATE_MS_PER_DAY); in ecma_date_time_within_day()
78 modulo += ECMA_DATE_MS_PER_DAY; in ecma_date_time_within_day()
116 return ECMA_DATE_MS_PER_DAY * ecma_date_day_from_year (year); in ecma_date_time_from_year()
504 time += 31 * mn * ECMA_DATE_MS_PER_DAY; in ecma_date_make_day()
507 time += ((ecma_number_t) 1.0 - ecma_date_date_from_time (time)) * ECMA_DATE_MS_PER_DAY; in ecma_date_make_day()
539 ecma_number_t result = day * ECMA_DATE_MS_PER_DAY + time; in ecma_date_make_date()
Decma-builtin-helpers.h132 #define ECMA_DATE_MS_PER_DAY (ECMA_DATE_MS_PER_HOUR * ECMA_DATE_HOURS_PER_DAY) macro