Poco::JS::Core

class DateTimeWrapper

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

DateTimeWrapper();

Creates the DateTimeWrapper.

Destructor

~DateTimeWrapper virtual

~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 virtual

v8::Handle < v8::ObjectTemplate > objectTemplate(
    v8::Isolate * pIsolate
);

addDays protected static

static void addDays(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

addHours protected static

static void addHours(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

addSeconds protected static

static void addSeconds(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

construct protected static

static void construct(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

day protected static

static void day(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

dayOfWeek protected static

static void dayOfWeek(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

dayOfYear protected static

static void dayOfYear(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

daysOfMonth protected static

static void daysOfMonth(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

epoch protected static

static void epoch(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

format protected static

static void format(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

hour protected static

static void hour(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

hourAMPM protected static

static void hourAMPM(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

isAM protected static

static void isAM(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

isDateTime protected static

static void isDateTime(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

isLeapYear protected static

static void isLeapYear(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

isPM protected static

static void isPM(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

julian protected static

static void julian(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

local protected static

static void local(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

mapFormat protected static

static std::string mapFormat(
    const std::string & formatString
);

minute protected static

static void minute(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

month protected static

static void month(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

second protected static

static void second(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

timestamp protected static

static void timestamp(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

toDate protected static

static void toDate(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

toJSON protected static

static void toJSON(
    const v8::FunctionCallbackInfo < v8::Value > & args
);

year protected static

static void year(
    v8::Local < v8::String > name,
    const v8::PropertyCallbackInfo < v8::Value > & info
);

Securely control IoT edge devices from anywhere   Connect a Device