UNPKG

@kamiazya/freebusy

Version:

Determine free blocks from a list of events.

17 lines 572 B
import { DateTime } from 'luxon'; import { BlockISO8601 } from './BlockISO8601'; import { BlockLikeObject } from './BlockLikeObject'; import { DateTimeInput } from '../utils/DateTimeInput'; /** * Block is a object for abstract handling * of the start and end of time. */ export declare class Block implements BlockLikeObject { readonly start: DateTime; readonly end: DateTime; constructor(start: DateTimeInput, end: DateTimeInput); clone(): Block; subtract(other: Block): Block[]; toISO8601(): BlockISO8601; } //# sourceMappingURL=Block.d.ts.map