Skip to content

Commit 15cd2bf

Browse files
committed
docs: add description in months data constant
1 parent afb6a47 commit 15cd2bf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/constants/months.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,14 @@ export const months = [
194194
},
195195
] as const
196196

197+
/**
198+
* @description
199+
* This is the data for the months of the year.
200+
* The first element of the tuple is the number of days in each month.
201+
* Each month is an array of 3 elements. The first element is the number of days after which the month starts and the second element is the number of days in the month. The third element is the number of days after which next month starts.
202+
* The second element of the tuple is the total number of days in the year.
203+
* The data is from 2000 BS to 2099 BS.
204+
*/
197205
export const monthsData: Array<[Array<[number, number, number]>, number]> = [
198206
[
199207
[

0 commit comments

Comments
 (0)