UNPKG

@technobuddha/library

Version:
12 lines (11 loc) 393 B
import { type DateOptions } from './date.ts'; /** * Determine the start of the year for a date * @param input - The date * @param options - see {@link DateOptions} * @defaultValue utc false * @returns The date value for midnight on the first day of the specified year * @group Time * @category Year */ export declare function beginningOfYear(input: Date, { utc }?: DateOptions): Date;