File Information
Library: JS/Core
Package: Wrappers
Header: Poco/JS/Core/DateTimeWrapper.h
Description
JavaScript wrapper for Poco::DateTime.
Inheritance
Direct Base Classes: Wrapper
All Base Classes: Wrapper
Member Summary
Member Functions: addDays, addHours, addSeconds, construct, constructor, day, dayOfWeek, dayOfYear, daysOfMonth, epoch, format, hour, hourAMPM, isAM, isDateTime, isLeapYear, isPM, julian, local, mapFormat, minute, month, objectTemplate, second, timestamp, toDate, toJSON, year
Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent
Constructors
DateTimeWrapper
Creates the DateTimeWrapper.
Destructor
~DateTimeWrapper
~DateTimeWrapper();
Destroys the DateTimeWrapper.
Member Functions
constructor
v8::Handle < v8::FunctionTemplate > constructor(
v8::Isolate * pIsolate
);
Creates and returns a V8 FunctionTemplate for the constructor function.
objectTemplate
v8::Handle < v8::ObjectTemplate > objectTemplate(
v8::Isolate * pIsolate
);
addDays
static void addDays(
const v8::FunctionCallbackInfo < v8::Value > & args
);
addHours
static void addHours(
const v8::FunctionCallbackInfo < v8::Value > & args
);
addSeconds
static void addSeconds(
const v8::FunctionCallbackInfo < v8::Value > & args
);
construct
static void construct(
const v8::FunctionCallbackInfo < v8::Value > & args
);
day
static void day(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
dayOfWeek
static void dayOfWeek(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
dayOfYear
static void dayOfYear(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
daysOfMonth
static void daysOfMonth(
const v8::FunctionCallbackInfo < v8::Value > & args
);
epoch
static void epoch(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
format
static void format(
const v8::FunctionCallbackInfo < v8::Value > & args
);
hour
static void hour(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
hourAMPM
static void hourAMPM(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
isAM
static void isAM(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
isDateTime
static void isDateTime(
const v8::FunctionCallbackInfo < v8::Value > & args
);
isLeapYear
static void isLeapYear(
const v8::FunctionCallbackInfo < v8::Value > & args
);
isPM
static void isPM(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
julian
static void julian(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
local
static void local(
const v8::FunctionCallbackInfo < v8::Value > & args
);
mapFormat
static std::string mapFormat(
const std::string & formatString
);
minute
static void minute(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
month
static void month(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
second
static void second(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
timestamp
static void timestamp(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);
toDate
static void toDate(
const v8::FunctionCallbackInfo < v8::Value > & args
);
toJSON
static void toJSON(
const v8::FunctionCallbackInfo < v8::Value > & args
);
year
static void year(
v8::Local < v8::String > name,
const v8::PropertyCallbackInfo < v8::Value > & info
);