ngx-material-timepicker
Version:
Handy material design timepicker for angular
5 lines (4 loc) • 388 B
TypeScript
import { DateTime } from 'luxon';
export declare function isSameOrAfter(time: DateTime, compareWith: DateTime, unit?: 'hours' | 'minutes'): boolean;
export declare function isSameOrBefore(time: DateTime, compareWith: DateTime, unit?: 'hours' | 'minutes'): boolean;
export declare function isBetween(time: DateTime, before: DateTime, after: DateTime, unit?: 'hours' | 'minutes'): boolean;