workbook.TemporalUnit

Note:

JavaScript does not include an enumeration type. The SuiteScript 2.x documentation uses the term enumeration (or enum) to describe a plain JavaScript object with a flat, map-like structure. In this object, each key points to a read-only string value.

Enum Description

Holds string values for temporal units, such as hours or minutes. Used to set the value of the options.start and options.end parameters of the workbook.createDuration(options) method.

Module

N/workbook Module

Sibling Module Members

N/workbook Module Members

Since

2021.2

Values

Value

CENTURIES

DAYS

DECADES

ERA

HALF_DAYS

HOURS

MICROS

MILLENIA

MILLIS

MINUTES

MONTHS

NANOS

SECONDS

WEEKS

YEARS

General Notices