UNPKG

@ultipa-graph/ultipa-node-sdk

Version:

NodeJS SDK for ultipa-server 4.0

10 lines (9 loc) 505 B
import moment from "moment-timezone"; import { ULTIPA } from "src/types"; export declare class UltipaDatetime { static datetimeInt2datetimeStr(intString: string): string; static datetimeStr2datetimeString(time: string): string; static getMoment(timestamp: string | number, timeZone: ULTIPA.TimeZone): moment.Moment; static timestamp2Str(timestamp_seconds: number, timeZone: ULTIPA.TimeZone): string; static timestampStr2int(timestamp_str: string, timeZone: ULTIPA.TimeZone): number; }