UNPKG

angular-bootstrap-datetimepicker

Version:

Native Angular (8+) datetime picker component styled by Twitter Bootstrap 4.

24 lines (23 loc) 685 B
import { DlDateAdapter } from './dl-date-adapter'; /** * Adapts `number` to be usable as a date by date/time components that work with dates. * No op adapter. **/ export declare class DlDateAdapterNumber extends DlDateAdapter<number> { /** * Returns the specified number. * @param milliseconds * a moment time time. * @returns * the specified moment in time. */ fromMilliseconds(milliseconds: number): number; /** * Returns the specified number. * @param value * a moment time time or `null` * @returns * the specified moment in time or `null` */ toMilliseconds(value: number | null): number | null; }