@technobuddha/library
Version:
A large library of useful functions
15 lines (14 loc) • 421 B
TypeScript
declare type Options = {
/** Use the UTC timezone */
UTC?: boolean;
};
/**
* Determine the last day of the year containing a date
*
* @param input The date
* @param __namedParameters see {@link Options}
* @default UTC false
* @returns Midnight of the last day of the year containing the input date
*/
export declare function getEndOfYear(input: Date, { UTC }?: Options): Date;
export default getEndOfYear;