Refactor to{,UTC,ISO}String methods of the Date object.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
This commit is contained in:
Roland Takacs
2015-08-03 10:01:29 +02:00
parent 833a5d1a55
commit 6082c32d45
3 changed files with 111 additions and 59 deletions
@@ -122,7 +122,7 @@ extern void ecma_date_insert_num_with_sep (ecma_string_t **str_p,
uint32_t length);
extern ecma_completion_value_t ecma_date_value_to_string (ecma_number_t datetime_num, ecma_date_timezone_t timezone);
extern ecma_completion_value_t ecma_date_object_to_string (ecma_value_t this_arg, ecma_date_timezone_t timezone);
extern ecma_completion_value_t ecma_date_get_primitive_value (ecma_value_t this_arg);
#endif /* !CONFIG_ECMA_COMPACT_PROFILE_DISABLE_DATE_BUILTIN */