@brimdata/zealot
Version:
The Javascript Client for Zed Lakes
21 lines (20 loc) • 699 B
TypeScript
import { TypeDuration } from "../types/type-duration";
import { Primitive } from "./primitive";
export declare class Duration extends Primitive {
type: typeof TypeDuration;
_nanos: bigint | null;
constructor(value: string | null);
asSeconds(): number | null;
asMs(): number | null;
asNanos(): bigint | null;
toJS(): number | null;
}
export declare const Nanosecond: bigint;
export declare const Microsecond: bigint;
export declare const Millisecond: bigint;
export declare const Second: bigint;
export declare const Minute: bigint;
export declare const Hour: bigint;
export declare const Day: bigint;
export declare const Week: bigint;
export declare const Year: bigint;