ngx-bootstrap
Version:
Native Angular Bootstrap Components
6 lines (5 loc) • 400 B
TypeScript
import { Duration } from '../duration/constructor';
import { UnitOfTime } from '../types';
export declare function add(date: Date, val: number, period: UnitOfTime, isUTC?: boolean): Date;
export declare function subtract(date: Date, val: number, period: UnitOfTime, isUTC?: boolean): Date;
export declare function addSubtract(date: Date, duration: Duration, isAdding: number, isUTC?: boolean): Date;