Home
last modified time | relevance | path

Searched refs:DAYS_IN_400_YEARS (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_date.cpp104 int64_t era = (d >= 0 ? d : d - DAYS_IN_400_YEARS + 1) / DAYS_IN_400_YEARS; // an era is a 400 year period
105 int64_t doe = static_cast<int64_t>(d - era * DAYS_IN_400_YEARS); // days of era
107 doe / (DAYS_IN_400_YEARS - 1)) / DAYS_IN_YEAR; // year of era
H A Djs_date.h62 static constexpr int DAYS_IN_400_YEARS = 146097; member

Completed in 3 milliseconds