blob: b590e2c4b07c47b36154414b60b826faad80a4c7 [file] [log] [blame]
/*
* Copyright (C) Igor Sysoev
* Copyright (C) NGINX, Inc.
*/
#ifndef _NJS_DATE_H_INCLUDED_
#define _NJS_DATE_H_INCLUDED_
struct njs_date_s {
njs_object_t object;
double time;
};
njs_ret_t njs_date_constructor(njs_vm_t *vm, njs_value_t *args,
nxt_uint_t nargs, njs_index_t unused);
extern const njs_object_init_t njs_date_constructor_init;
extern const njs_object_init_t njs_date_prototype_init;
#endif /* _NJS_DATE_H_INCLUDED_ */