Poco::JS::Core

class LocalDateTimeWrapper

File Information

Library: JS/Core
Package: Wrappers
Header: Poco/JS/Core/LocalDateTimeWrapper.h

Description

JavaScript wrapper for Poco::LocalDateTime.

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, isLeapYear, isLocalDateTime, isPM, julian, minute, month, objectTemplate, second, timestamp, toDate, toJSON, tzd, utc, year

Inherited Functions: checkSetResult, isWrapper, objectTemplate, reportEmptySetResult, returnException, returnString, safeUnwrapNative, toString, toV8Internalized, toV8String, unwrapNative, unwrapNativeObject, wrapNative, wrapNativePersistent

Constructors

LocalDateTimeWrapper

LocalDateTimeWrapper();

Creates the LocalDateTimeWrapper for the root logger.

Destructor

~LocalDateTimeWrapper virtual

~LocalDateTimeWrapper();

Destroys the LocalDateTimeWrapper.

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
);

isLeapYear protected static

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

isLocalDateTime protected static

static void isLocalDateTime(
    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
);

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
);

tzd protected static

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

utc protected static

static void utc(
    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