diff options
Diffstat (limited to 'node_modules/date-fns/esm/startOfISOWeek')
4 files changed, 0 insertions, 88 deletions
diff --git a/node_modules/date-fns/esm/startOfISOWeek/index.d.ts b/node_modules/date-fns/esm/startOfISOWeek/index.d.ts deleted file mode 100644 index 93e573a..0000000 --- a/node_modules/date-fns/esm/startOfISOWeek/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. - -import { startOfISOWeek } from 'date-fns' -export default startOfISOWeek diff --git a/node_modules/date-fns/esm/startOfISOWeek/index.js b/node_modules/date-fns/esm/startOfISOWeek/index.js deleted file mode 100644 index 255b621..0000000 --- a/node_modules/date-fns/esm/startOfISOWeek/index.js +++ /dev/null @@ -1,28 +0,0 @@ -import startOfWeek from "../startOfWeek/index.js"; -import requiredArgs from "../_lib/requiredArgs/index.js"; -/** - * @name startOfISOWeek - * @category ISO Week Helpers - * @summary Return the start of an ISO week for the given date. - * - * @description - * Return the start of an ISO week for the given date. - * The result will be in the local timezone. - * - * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date - * - * @param {Date|Number} date - the original date - * @returns {Date} the start of an ISO week - * @throws {TypeError} 1 argument required - * - * @example - * // The start of an ISO week for 2 September 2014 11:55:00: - * const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0)) - * //=> Mon Sep 01 2014 00:00:00 - */ -export default function startOfISOWeek(dirtyDate) { - requiredArgs(1, arguments); - return startOfWeek(dirtyDate, { - weekStartsOn: 1 - }); -}
\ No newline at end of file diff --git a/node_modules/date-fns/esm/startOfISOWeek/index.js.flow b/node_modules/date-fns/esm/startOfISOWeek/index.js.flow deleted file mode 100644 index 4b7c616..0000000 --- a/node_modules/date-fns/esm/startOfISOWeek/index.js.flow +++ /dev/null @@ -1,52 +0,0 @@ -// @flow -// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. - -export type Interval = { - start: Date | number, - end: Date | number, -} - -export type Locale = { - code?: string, - formatDistance?: (...args: Array<any>) => any, - formatRelative?: (...args: Array<any>) => any, - localize?: { - ordinalNumber: (...args: Array<any>) => any, - era: (...args: Array<any>) => any, - quarter: (...args: Array<any>) => any, - month: (...args: Array<any>) => any, - day: (...args: Array<any>) => any, - dayPeriod: (...args: Array<any>) => any, - }, - formatLong?: { - date: (...args: Array<any>) => any, - time: (...args: Array<any>) => any, - dateTime: (...args: Array<any>) => any, - }, - match?: { - ordinalNumber: (...args: Array<any>) => any, - era: (...args: Array<any>) => any, - quarter: (...args: Array<any>) => any, - month: (...args: Array<any>) => any, - day: (...args: Array<any>) => any, - dayPeriod: (...args: Array<any>) => any, - }, - options?: { - weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, - firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, - }, -} - -export type Duration = { - years?: number, - months?: number, - weeks?: number, - days?: number, - hours?: number, - minutes?: number, - seconds?: number, -} - -export type Day = 0 | 1 | 2 | 3 | 4 | 5 | 6 - -declare module.exports: (date: Date | number) => Date diff --git a/node_modules/date-fns/esm/startOfISOWeek/package.json b/node_modules/date-fns/esm/startOfISOWeek/package.json deleted file mode 100644 index b109f05..0000000 --- a/node_modules/date-fns/esm/startOfISOWeek/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "sideEffects": false, - "typings": "../../typings.d.ts" -}
\ No newline at end of file |
