0.1.1 • Published 10 years ago

ed-temporal-granularity v0.1.1

Weekly downloads
2
License
Apache License 2....
Repository
github
Last release
10 years ago

ed-temporal-granularity

Temporal Granularity Enum Object for Event Driven Network

Usage: var granularity = require ('ed-temporal-granularity');

granularity.millisecond // 1

granularity.properties1.name // 'millisecond' granularity.properties1.value // 1 granularity.properties1.code // 'ms'

Values of the enum are:

microsecond: 0,
millisecond: 1,
second: 2,
minute: 3,
hour: 4,
day: 5,
week: 6,
month: 7,
year: 8,
decade: 9,
century: 10,