Skip to content

Commit 0598d33

Browse files
committed
Use TSDoc for documentation
1 parent 285f3b5 commit 0598d33

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+6815
-2305
lines changed

README.md

+42-1,321
Large diffs are not rendered by default.

docs/README.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
**@hebcal/hdate**[**Docs**](globals.md)
2+
3+
***
4+
5+
# @hebcal/hdate
6+
converts between Hebrew and Gregorian dates using Rata Die (R.D.) algorithm by Dershowitz and Reingold
7+
8+
[![Build Status](https://github.com/hebcal/hdate-js/actions/workflows/node.js.yml/badge.svg)](https://github.com/hebcal/hdate-js/actions/workflows/node.js.yml)
9+
10+
## Installation
11+
```bash
12+
$ npm install @hebcal/hdate
13+
```
14+
15+
## Synopsis
16+
```javascript
17+
import {greg, abs2hebrew} from '@hebcal/hdate';
18+
19+
const date = new Date(2008, 10, 13); // 13 November 2008
20+
const abs = greg.greg2abs(date);
21+
const hdate = abs2hebrew(abs); // {yy: 5769, mm: CHESHVAN, dd: 15}
22+
```
23+
24+
## Namespaces
25+
26+
- [greg](_media/README.md)
27+
28+
## Enumerations
29+
30+
- [months](_media/months.md)
31+
32+
## Classes
33+
34+
- [HDate](_media/HDate.md)
35+
- [Locale](_media/Locale.md)
36+
37+
## Interfaces
38+
39+
- [Headers](_media/Headers.md)
40+
- [LocaleData](_media/LocaleData.md)
41+
- [StringArrayMap](_media/StringArrayMap.md)
42+
43+
## Type Aliases
44+
45+
- [Molad](_media/Molad.md)
46+
- [OmerLang](_media/OmerLang.md)
47+
- [SimpleHebrewDate](_media/SimpleHebrewDate.md)
48+
49+
## Functions
50+
51+
- [abs2hebrew](_media/abs2hebrew.md)
52+
- [daysInMonth](_media/daysInMonth.md)
53+
- [daysInYear](_media/daysInYear.md)
54+
- [elapsedDays](_media/elapsedDays.md)
55+
- [gematriya](_media/gematriya.md)
56+
- [gematriyaStrToNum](_media/gematriyaStrToNum.md)
57+
- [getBirthdayHD](_media/getBirthdayHD.md)
58+
- [getBirthdayOrAnniversary](_media/getBirthdayOrAnniversary.md)
59+
- [getMonthName](_media/getMonthName.md)
60+
- [getPseudoISO](_media/getPseudoISO.md)
61+
- [getTimezoneOffset](_media/getTimezoneOffset.md)
62+
- [getYahrzeit](_media/getYahrzeit.md)
63+
- [getYahrzeitHD](_media/getYahrzeitHD.md)
64+
- [hd2abs](_media/hd2abs.md)
65+
- [hebrew2abs](_media/hebrew2abs.md)
66+
- [isLeapYear](_media/isLeapYear.md)
67+
- [longCheshvan](_media/longCheshvan.md)
68+
- [molad](_media/molad.md)
69+
- [monthFromName](_media/monthFromName.md)
70+
- [monthsInYear](_media/monthsInYear.md)
71+
- [omerEmoji](_media/omerEmoji.md)
72+
- [omerSefira](_media/omerSefira.md)
73+
- [omerTodayIs](_media/omerTodayIs.md)
74+
- [pad2](_media/pad2.md)
75+
- [pad4](_media/pad4.md)
76+
- [shortKislev](_media/shortKislev.md)

0 commit comments

Comments
 (0)