#ifndef V8_DATE_DATE_H_
#define V8_DATE_DATE_H_
#include <cmath>
#include "src/base/small-vector.h"
#include "src/base/timezone-cache.h"
#include "src/common/globals.h"
#include "src/objects/smi.h"
namespace v8 {
namespace internal {
class V8_EXPORT_PRIVATE DateCache { … };
double MakeDate(double day, double time);
double MakeDay(double year, double month, double date);
double MakeTime(double hour, double min, double sec, double ms);
using DateBuffer = base::SmallVector<char, 128>;
enum class ToDateStringMode { … };
DateBuffer ToDateString(double time_val, DateCache* date_cache,
ToDateStringMode mode);
double ParseDateTimeString(Isolate* isolate, Handle<String> str);
}
}
#endif