@types/japanese-holidays
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,7 +0,1 @@ | ||
// Type definitions for japanese-holidays 1.0 | ||
// Project: https://github.com/osamutake/japanese-holidays-js | ||
// Definitions by: syamatoo <https://github.com/syamatoo> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
export as namespace JapaneseHolidays; | ||
@@ -8,0 +2,0 @@ |
{ | ||
"name": "@types/japanese-holidays", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "TypeScript definitions for japanese-holidays", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japanese-holidays", | ||
"license": "MIT", | ||
@@ -9,9 +10,9 @@ "contributors": [ | ||
"name": "syamatoo", | ||
"url": "https://github.com/syamatoo", | ||
"githubUsername": "syamatoo" | ||
"githubUsername": "syamatoo", | ||
"url": "https://github.com/syamatoo" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
"githubUsername": "peterblazejewicz", | ||
"url": "https://github.com/peterblazejewicz" | ||
} | ||
@@ -28,4 +29,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "04214bc0699d8ee1fa268667a5041a82e450864a5ceb949585ac661c6d81df31", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "e7a631ddb3f4d2d4d6887a6639303868e0ff5938e214b6e0cd03aae4d922a436", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,9 +9,44 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japanese-holidays. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/japanese-holidays/index.d.ts) | ||
````ts | ||
export as namespace JapaneseHolidays; | ||
export function isHoliday(date: Date, furikae?: boolean): string | undefined; | ||
export function isHolidayAt(date: Date, furikae?: boolean): string | undefined; | ||
export function getHolidaysOf(year: number, furikae?: boolean): Holiday[]; | ||
export function getJDate(date: Date): number; | ||
export function getJDay(date: Date): number; | ||
export function getJFullYear(date: Date): number; | ||
export function getJHours(date: Date): number; | ||
export function getJMinutes(date: Date): number; | ||
export function getJMonth(date: Date): number; | ||
export function j2u(date: Date): Date; | ||
export function jDate(year: number, month: number, day: number): Date; | ||
export function shiftDate( | ||
date: Date, | ||
year: number, | ||
mon: number, | ||
day: number, | ||
hour: number, | ||
min: number, | ||
sec: number, | ||
msec: number, | ||
): Date; | ||
export function u2j(date: Date): Date; | ||
export function uDate(year: number, month: number, day: number): Date; | ||
export interface Holiday { | ||
month: number; | ||
date: number; | ||
name: string; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Sun, 11 Apr 2021 11:31:21 GMT | ||
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT | ||
* Dependencies: none | ||
* Global values: `JapaneseHolidays` | ||
# Credits | ||
These definitions were written by [syamatoo](https://github.com/syamatoo), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
4908
52
1
29