tarantoolscript
Version:
TypeScript definitions for Tarantool Lua API.
47 lines (38 loc) • 511 B
TypeScript
export interface IntervalTable {
/**
* Nanoseconds.
*/
nsec: number;
/**
* Seconds.
*/
sec: number;
/**
* Minutes.
*/
min: number;
/**
* Hours.
*/
hour: number;
/**
* Day number.
*/
day: number;
/**
* Month number.
*/
month: number;
/**
* Year.
*/
year: number;
/**
* Week number.
*/
week: number;
/**
* Defines how to round days in a month after an arithmetic operation.
*/
adjust: 'none' | 'last' | 'excess';
}