---
name: "hdate.h"
section: "3"
platform: "linux"
package: "libhdate-dev"
version: "1.6.02-2.1+b8"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/hdate.h"
---

# hdate.h(3)

libhdate C language header.

## NAME

src/hdate.h -

libhdate C language header.

## SYNOPSIS

### Data Structures

struct **hdate\_struct**\
 *libhdate Hebrew date struct*

### Defines

\#define **HDATE\_DIASPORA\_FLAG**   -1\
 *use diaspora dates and holydays flag*  #define **HDATE\_ISRAEL\_FLAG**   0\
 *use israel dates and holydays flag*  #define **HDATE\_SHORT\_FLAG**   -1\
 *use short strings flag*  #define **HDATE\_LONG\_FLAG**   0\
 *use long strings flag*  #define **HEBREW\_NUMBER\_BUFFER\_SIZE**   17\
 *for hdate\_get\_int\_string\_ and hdate\_get\_int\_wstring*  #define **HEBREW\_WNUMBER\_BUFFER\_SIZE**   9\
 \#define **HDATE\_STRING\_INT**   0\
 *for function hdate\_string: identifies string type: integer*  #define **HDATE\_STRING\_DOW**   1\
 *for function hdate\_string: identifies string type: day of week*  #define **HDATE\_STRING\_PARASHA**   2\
 *for function hdate\_string: identifies string type: parasha*  #define **HDATE\_STRING\_HMONTH**   3\
 *for function hdate\_string: identifies string type: hebrew\_month*  #define **HDATE\_STRING\_GMONTH**   4\
 *for function hdate\_string: identifies string type: gregorian\_month*  #define **HDATE\_STRING\_HOLIDAY**   5\
 *for function hdate\_string: identifies string type: holiday*  #define **HDATE\_STRING\_OMER**   6\
 \#define **HDATE\_STRING\_SHORT**   1\
 *for function hdate\_string: use short form, if one exists*  #define **HDATE\_STRING\_LONG**   0\
 *for function hdate\_string: use long form*  #define **HDATE\_STRING\_HEBREW**   1\
 *for function hdate\_string: use embedded hebrew string*  #define **HDATE\_STRING\_LOCAL**   0\
 *for function hdate\_string: use local locale string*

### Functions

**hdate\_struct** \* **hdate\_set\_gdate** (**hdate\_struct** \*h, int d, int m, int y)\
 *compute date structure from the Gregorian date*  **hdate\_struct** \* **hdate\_set\_hdate** (**hdate\_struct** \*h, int d, int m, int y)\
 *compute date structure from the Hebrew date*  **hdate\_struct** \* **hdate\_set\_jd** (**hdate\_struct** \*h, int jd)\
 *compute date structure from the Julian day*  char \* **hdate\_get\_format\_date** (**hdate\_struct** const \*h, int diaspora, int s)\
 *Return a string, with the hebrew date.*  int **hdate\_get\_parasha** (**hdate\_struct** const \*h, int diaspora)\
 *get the number of hebrew parasha.*  int **hdate\_get\_holyday** (**hdate\_struct** const \*h, int diaspora)\
 *get the number of hebrew holiday.*  char \* **hdate\_get\_int\_string** (int n)\
 *convert an integer to hebrew string.*  char \* **hdate\_get\_day\_string** (int day, int s)\
 *Return a static string, with name of week day.*  char \* **hdate\_get\_month\_string** (int month, int s)\
 *Return a static string, with name of month.*  char \* **hdate\_get\_hebrew\_month\_string** (int month, int s)\
 *Return a static string, with name of hebrew month.*  char \* **hdate\_get\_holyday\_string** (int holyday, int s)\
 *Name of hebrew holiday.*  char \* **hdate\_get\_parasha\_string** (int parasha, int s)\
 *Name of Parasha.*  char \* **hdate\_get\_omer\_string** (int omer\_day)\
 *Return a static string, with the day in the omer.*  int **hdate\_get\_omer\_day** (**hdate\_struct** const \*h)\
 *Return the day in the omer of the given date.*  int **hdate\_get\_holyday\_type** (int holyday)\
 *Return number of hebrew holyday type.*  int **hdate\_get\_size\_of\_hebrew\_year** (int hebrew\_year)\
 *size of hebrew year in days.*  int **hdate\_days\_from\_3744** (int hebrew\_year)\
 *Days since Tishrey 3744.*  int **hdate\_get\_year\_type** (int size\_of\_year, int new\_year\_dw)\
 *Return Hebrew year type based on size and first week day of year.*  int **hdate\_gdate\_to\_jd** (int day, int month, int year)\
 *Compute Julian day from Gregorian date.*  int **hdate\_hdate\_to\_jd** (int day, int month, int year, int \*jd\_tishrey1, int \*jd\_tishrey1\_next\_year)\
 *Compute Julian day from Hebrew day, month and year.*  void **hdate\_jd\_to\_gdate** (int jd, int \*day, int \*month, int \*year)\
 *Converting from the Julian day to the Gregorian date.*  void **hdate\_jd\_to\_hdate** (int jd, int \*day, int \*month, int \*year, int \*jd\_tishrey1, int \*jd\_tishrey1\_next\_year)\
 *Converting from the Julian day to the Hebrew day.*  int **hdate\_get\_day\_of\_year** (int day, int month, int year)\
 *days from 1 january*  void **hdate\_get\_utc\_sun\_time\_deg** (int day, int month, int year, double latitude, double longitude, double deg, int \*sunrise, int \*sunset)\
 *utc sun times for altitude at a gregorian date*  void **hdate\_get\_utc\_sun\_time** (int day, int month, int year, double latitude, double longitude, int \*sunrise, int \*sunset)\
 *utc sunrise/set time for a gregorian date*  void **hdate\_get\_utc\_sun\_time\_full** (int day, int month, int year, double latitude, double longitude, int \*sun\_hour, int \*first\_light, int \*talit, int \*sunrise, int \*midday, int \*sunset, int \*first\_stars, int \*three\_stars)\
 *utc sunrise/set time for a gregorian date*  int **hdate\_get\_gday** (**hdate\_struct** const \*h)\
 *get the Gregorian day of the month*  int **hdate\_get\_gmonth** (**hdate\_struct** const \*h)\
 *get the Gregorian month*  int **hdate\_get\_gyear** (**hdate\_struct** const \*h)\
 *get the Gregorian year*  int **hdate\_get\_hday** (**hdate\_struct** const \*h)\
 *get the Hebrew day of the month*  int **hdate\_get\_hmonth** (**hdate\_struct** const \*h)\
 *get the Hebrew month*  int **hdate\_get\_hyear** (**hdate\_struct** const \*h)\
 *get the Hebrew year*  int **hdate\_get\_day\_of\_the\_week** (**hdate\_struct** const \*h)\
 *get the day of the week*  int **hdate\_get\_size\_of\_year** (**hdate\_struct** const \*h)\
 *get the size of the hebrew year*  int **hdate\_get\_new\_year\_day\_of\_the\_week** (**hdate\_struct** const \*h)\
 *get the new year day of the week*  int **hdate\_get\_julian** (**hdate\_struct** const \*h)\
 *get the Julian day number*  int **hdate\_get\_days** (**hdate\_struct** const \*h)\
 *get the number of days passed since 1 tishrey*  int **hdate\_get\_weeks** (**hdate\_struct** const \*h)\
 *get the number of weeks passed since 1 tishrey*  **hdate\_struct** \* **new\_hdate** ()\
 *creat a new hdate struct object, must be deleted using delete\_hdate.*  **hdate\_struct** \* **delete\_hdate** (**hdate\_struct** \*h)\
 *delete an hdate struct object.*  char \* **hdate\_get\_version\_string** ()\
 *Return a static string, with the package name and version.*  char \* **hdate\_get\_translator\_string** ()\
 *name of translator*  int **hdate\_is\_hebrew\_locale** ()\
 *helper function to find hebrew locale*  char \* **hdate\_string** (int type\_of\_string, int index, int short\_form, int hebrew\_form)\
 *Return string values for hdate information.*

## Detailed Description

libhdate C language header.

libhdate - Hebrew calendar library, the C language header file.

## Define Documentation

### #define HDATE\_DIASPORA\_FLAG -1

use diaspora dates and holydays flag

### #define HDATE\_ISRAEL\_FLAG 0

use israel dates and holydays flag

### #define HDATE\_SHORT\_FLAG -1

use short strings flag

### #define HDATE\_LONG\_FLAG 0

use long strings flag

### #define HEBREW\_NUMBER\_BUFFER\_SIZE 17

for hdate\_get\_int\_string\_ and hdate\_get\_int\_wstring **Note:**

How large should the buffer be? Hebrew year 10,999 would be י'תתקצ"ט, eight characters, each two bytes, plus an end-of-string delimiter, equals 17. This could effectively yield a range extending to Hebrew year 11,899, י'א תתצ'ט, due to the extra ק needed for the '900' century. However, for readability, I would want a an extra space at that point between the millennium and the century...

### #define HEBREW\_WNUMBER\_BUFFER\_SIZE 9

### #define HDATE\_STRING\_INT 0

for function hdate\_string: identifies string type: integer

### #define HDATE\_STRING\_DOW 1

for function hdate\_string: identifies string type: day of week

### #define HDATE\_STRING\_PARASHA 2

for function hdate\_string: identifies string type: parasha

### #define HDATE\_STRING\_HMONTH 3

for function hdate\_string: identifies string type: hebrew\_month

### #define HDATE\_STRING\_GMONTH 4

for function hdate\_string: identifies string type: gregorian\_month

### #define HDATE\_STRING\_HOLIDAY 5

for function hdate\_string: identifies string type: holiday

### #define HDATE\_STRING\_OMER 6

### #define HDATE\_STRING\_SHORT 1

for function hdate\_string: use short form, if one exists

### #define HDATE\_STRING\_LONG 0

for function hdate\_string: use long form

### #define HDATE\_STRING\_HEBREW 1

for function hdate\_string: use embedded hebrew string

### #define HDATE\_STRING\_LOCAL 0

for function hdate\_string: use local locale string

## Function Documentation

### hdate\_struct\* hdate\_set\_gdate (hdate\_struct \*h, intd, intm, inty)

compute date structure from the Gregorian date **Parameters:**

*h* pointer this hdate struct. \
 *d* Day of month 1..31 \
 *m* Month 1..12 if m or d is 0 return current date. \
 *y* Year in 4 digits e.g. 2001

**Returns:**

pointer to this hdate struct

### hdate\_struct\* hdate\_set\_hdate (hdate\_struct \*h, intd, intm, inty)

compute date structure from the Hebrew date **Parameters:**

*h* pointer this hdate struct. \
 *d* Day of month 1..31 \
 *m* Month 1..14 ,(13 - Adar 1, 14 - Adar 2) if m or d is 0 return current date. \
 *y* Year in 4 digits e.g. 5731

**Returns:**

pointer to this hdate struct

### hdate\_struct\* hdate\_set\_jd (hdate\_struct \*h, intjd)

compute date structure from the Julian day **Parameters:**

*h* pointer this hdate struct. \
 *jd* the julian day number.

**Returns:**

pointer to this hdate struct

### char\* hdate\_get\_format\_date (hdate\_struct const \*h, intdiaspora, ints)

Return a string, with the hebrew date. **Returns:**

NULL pointer upon failure or, upon success, a pointer to a string containing the short ( e.g. '1 Tishrey' ) or long (e.g. 'Tuesday\
  18 Tishrey 5763 Hol hamoed Sukot' ) formatted date. You must free() the pointer after use.

**Parameters:**

*h* The **hdate\_struct** of the date to print. \
 *diaspora* if true give diaspora holydays \
 *short\_format* A short flag (true - returns a short string, false returns a long string).

**Warning:**

This was originally written using a local static string, calling for output to be copied away.

### int hdate\_get\_parasha (hdate\_struct const \*h, intdiaspora)

get the number of hebrew parasha. **Parameters:**

*h* pointer this hdate struct. \
 *diaspora* if true give diaspora readings

**Returns:**

the number of parasha 1. Bereshit etc.. (55 through 61 are joined strings e.g. Vayakhel Pekudei)

### int hdate\_get\_holyday (hdate\_struct const \*h, intdiaspora)

get the number of hebrew holiday. **Parameters:**

*h* pointer this hdate struct. \
 *diaspora* if true give diaspora holidays

**Returns:**

the number of holiday.

### char\* hdate\_get\_int\_string (intn)

convert an integer to hebrew string. **Parameters:**

*n* The int to convert ( 0 \< n \< 11000)

**Returns:**

a string of the hebrew number UTF-8 (logical)

**Warning:**

DEPRECATION: This function is now just a wrapper for hdate\_string, and is subject to deprecation. Callers to this function must free() after using the memory pointed to by the return value. The original function outputted to a local static string, and suggested that the caller copied it away. \[deprecation date 2011-12-28\]

### char\* hdate\_get\_day\_string (intday, ints)

Return a static string, with name of week day. **Parameters:**

*day\_of\_week* The number of the day 1..7 (1 - sun). \
 *short\_form* A short flag (true - sun; false - sunday).

**Warning:**

DEPRECATION: This function is now just a wrapper for hdate\_string, and is subject to deprecation. \[deprecation date 2011-12-28\]

### char\* hdate\_get\_month\_string (intmonth, ints)

Return a static string, with name of month. **Parameters:**

*month* The number of the month 1..12 (1 - jan). \
 *short\_form* A short flag.

**Warning:**

DEPRECATION: This function is now just a wrapper for hdate\_string, and is subject to deprecation. \[deprecation date 2011-12-28\]

### char\* hdate\_get\_hebrew\_month\_string (intmonth, ints)

Return a static string, with name of hebrew month. **Parameters:**

*month* The number of the month 1..14 (1 - tishre, 13 - adar 1, 14 - adar 2). \
 *short\_form* A short flag.

**Warning:**

DEPRECATION: This function is now just a wrapper for hdate\_string, and is subject to deprecation. \[deprecation date 2011-12-28\]

### char\* hdate\_get\_holyday\_string (intholyday, ints)

Name of hebrew holiday. **Parameters:**

*holiday* The holiday number. \
 *short\_text* A short flag. 0=true, !0=false

**Warning:**

DEPRECATION: This function is now just a wrapper for hdate\_string, and is subject to deprecation. \[deprecation date 2011-12-28\]

### char\* hdate\_get\_parasha\_string (intparasha, ints)

Name of Parasha. **Parameters:**

*parasha* The Number of Parasha 1-Bereshit (55 through 61 are joined strings e.g. Vayakhel Pekudei) \
 *short\_form* A short flag. 0=true, !0 = false

**Warning:**

DEPRECATION: This function is now just a wrapper for hdate\_string, and is subject to deprecation. \[deprecation date 2011-12-28\]

### char\* hdate\_get\_omer\_string (intomer\_day)

Return a static string, with the day in the omer. **Parameters:**

*omer* day The day in the omer.

**Returns:**

a pointer to a string with the day in the omer. The caller must free() the pointer after use.

**Warning:**

DEPRECATION: This function is now just a wrapper for hdate\_string, and is subject to deprecation.

**Attention:**

The prior version of this function returned a pointer to a static string buffer. The current version returns a pointer to a malloc()ed buffer and needs to be free()d after use. \[deprecation date 2011-12-28\]

### int hdate\_get\_omer\_day (hdate\_struct const \*h)

Return the day in the omer of the given date. **Parameters:**

*h* The **hdate\_struct** of the date to use.

**Returns:**

The day in the omer, starting from 1 (or 0 if not in sfirat ha omer)

### int hdate\_get\_holyday\_type (intholyday)

Return number of hebrew holyday type. Holiday types: 0 - Regular day 1 - Yom tov (plus yom kippor) 2 - Erev yom kippur 3 - Hol hamoed 4 - Hanuka and purim 5 - Tzomot 6 - Independance day and Yom yerushalaim 7 - Lag baomer ,Tu beav, Tu beshvat 8 - Tzahal and Holocaust memorial days 9 - National days

**Parameters:**

*holyday* the holyday number

**Returns:**

the number of holyday type.

### int hdate\_get\_size\_of\_hebrew\_year (inthebrew\_year)

size of hebrew year in days. **Parameters:**

*hebrew\_year* the hebrew year.

**Returns:**

size of Hebrew year

### int hdate\_days\_from\_3744 (inthebrew\_year)

Days since Tishrey 3744. **Author:**

Amos Shapir 1984 (rev. 1985, 1992) Yaacov Zamir 2003-2005

**Parameters:**

*hebrew\_year* The Hebrew year

**Returns:**

Number of days since 3,1,3744

### int hdate\_get\_year\_type (intsize\_of\_year, intnew\_year\_dw)

Return Hebrew year type based on size and first week day of year. **Parameters:**

*size\_of\_year* Length of year in days \
 *new\_year\_dw* First week day of year

**Returns:**

the number for year type (1..14)

### int hdate\_gdate\_to\_jd (intday, intmonth, intyear)

Compute Julian day from Gregorian date. **Author:**

Yaacov Zamir (algorithm from Henry F. Fliegel and Thomas C. Van Flandern ,1968)

**Parameters:**

*day* Day of month 1..31 \
 *month* Month 1..12 \
 *year* Year in 4 digits e.g. 2001

**Returns:**

the julian day number

### int hdate\_hdate\_to\_jd (intday, intmonth, intyear, int \*jd\_tishrey1, int \*jd\_tishrey1\_next\_year)

Compute Julian day from Hebrew day, month and year. **Author:**

Amos Shapir 1984 (rev. 1985, 1992) Yaacov Zamir 2003-2005

**Parameters:**

*day* Day of month 1..31 \
 *month* Month 1..14 (13 - Adar 1, 14 - Adar 2) \
 *year* Hebrew year in 4 digits e.g. 5753 \
 *jd\_tishrey1* return the julian number of 1 Tishrey this year \
 *jd\_tishrey1\_next\_year* return the julian number of 1 Tishrey next year

**Returns:**

the julian day number

### void hdate\_jd\_to\_gdate (intjd, int \*day, int \*month, int \*year)

Converting from the Julian day to the Gregorian date. **Author:**

Yaacov Zamir (Algorithm, Henry F. Fliegel and Thomas C. Van Flandern ,1968)

**Parameters:**

*jd* Julian day \
 *day* return Day of month 1..31 \
 *month* return Month 1..12 \
 *year* return Year in 4 digits e.g. 2001

### void hdate\_jd\_to\_hdate (intjd, int \*day, int \*month, int \*year, int \*jd\_tishrey1, int \*jd\_tishrey1\_next\_year)

Converting from the Julian day to the Hebrew day. **Author:**

Yaacov Zamir 2005

**Parameters:**

*jd* Julian day \
 *day* return Day of month 1..31 \
 *month* return Month 1..14 (13 - Adar 1, 14 - Adar 2) \
 *year* return Year in 4 digits e.g. 2001 \
 *jd\_tishrey1* return the julian number of 1 Tishrey this year \
 *jd\_tishrey1\_next\_year* return the julian number of 1 Tishrey next year

### int hdate\_get\_day\_of\_year (intday, intmonth, intyear)

days from 1 january **Parameters:**

*day* this day of month \
 *month* this month \
 *year* this year

**Returns:**

the days from 1 jan

### void hdate\_get\_utc\_sun\_time\_deg (intday, intmonth, intyear, doublelatitude, doublelongitude, doubledeg, int \*sunrise, int \*sunset)

utc sun times for altitude at a gregorian date Returns the sunset and sunrise times in minutes from 00:00 (utc time) if sun altitude in sunrise is deg degries. This function only works for altitudes sun realy is. If the sun never get to this altitude, the returned sunset and sunrise values will be negative. This can happen in low altitude when latitude is nearing the pols in winter times, the sun never goes very high in the sky there.

**Parameters:**

*day* this day of month \
 *month* this month \
 *year* this year \
 *longitude* longitude to use in calculations \
 *latitude* latitude to use in calculations \
 *deg* degrees of sun's altitude (0 - Zenith .. 90 - Horizon) \
 *sunrise* return the utc sunrise in minutes \
 *sunset* return the utc sunset in minutes

### void hdate\_get\_utc\_sun\_time (intday, intmonth, intyear, doublelatitude, doublelongitude, int \*sunrise, int \*sunset)

utc sunrise/set time for a gregorian date **Parameters:**

*day* this day of month \
 *month* this month \
 *year* this year \
 *longitude* longitude to use in calculations degrees, negative values are east \
 *latitude* latitude to use in calculations degrees, negative values are south \
 *sunrise* return the utc sunrise in minutes after midnight (00:00) \
 *sunset* return the utc sunset in minutes after midnight (00:00)

### void hdate\_get\_utc\_sun\_time\_full (intday, intmonth, intyear, doublelatitude, doublelongitude, int \*sun\_hour, int \*first\_light, int \*talit, int \*sunrise, int \*midday, int \*sunset, int \*first\_stars, int \*three\_stars)

utc sunrise/set time for a gregorian date **Parameters:**

*day* this day of month \
 *month* this month \
 *year* this year \
 *longitude* longitude to use in calculations \
 *latitude* latitude to use in calculations \
 *sun\_hour* return the length of shaa zaminit in minutes \
 *first\_light* return the utc alut ha-shachar in minutes \
 *talit* return the utc tphilin and talit in minutes \
 *sunrise* return the utc sunrise in minutes \
 *midday* return the utc midday in minutes \
 *sunset* return the utc sunset in minutes \
 *first\_stars* return the utc tzeit hacochavim in minutes \
 *three\_stars* return the utc shlosha cochavim in minutes

### int hdate\_get\_gday (hdate\_struct const \*h)

get the Gregorian day of the month **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the Gregorian day of the month, 1..31.

### int hdate\_get\_gmonth (hdate\_struct const \*h)

get the Gregorian month **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the Gregorian month, jan = 1.

### int hdate\_get\_gyear (hdate\_struct const \*h)

get the Gregorian year **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the Gregorian year.

### int hdate\_get\_hday (hdate\_struct const \*h)

get the Hebrew day of the month **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the Hebrew day of the month, 1..30.

### int hdate\_get\_hmonth (hdate\_struct const \*h)

get the Hebrew month **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the Hebrew month, Tishery = 1 .. Adar I =13, Adar II = 14.

### int hdate\_get\_hyear (hdate\_struct const \*h)

get the Hebrew year **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the Hebrew year.

### int hdate\_get\_day\_of\_the\_week (hdate\_struct const \*h)

get the day of the week **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the the day of the week.

### int hdate\_get\_size\_of\_year (hdate\_struct const \*h)

get the size of the hebrew year **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the the size of the hebrew year.

### int hdate\_get\_new\_year\_day\_of\_the\_week (hdate\_struct const \*h)

get the new year day of the week **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the the new year day of the week.

### int hdate\_get\_julian (hdate\_struct const \*h)

get the Julian day number **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the Julian day number.

### int hdate\_get\_days (hdate\_struct const \*h)

get the number of days passed since 1 tishrey **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the number of days passed since 1 tishrey.

### int hdate\_get\_weeks (hdate\_struct const \*h)

get the number of weeks passed since 1 tishrey **Parameters:**

*h* pointer this hdate struct.

**Returns:**

the number of weeks passed since 1 tishrey.

### hdate\_struct\* new\_hdate ()

creat a new hdate struct object, must be deleted using delete\_hdate. **Returns:**

a new hdate object

### hdate\_struct\* delete\_hdate (hdate\_struct \*h)

delete an hdate struct object. **Parameters:**

*h* pointer this hdate struct.

### char\* hdate\_get\_version\_string ()

Return a static string, with the package name and version. **Returns:**

a static string, with the package name and version

### char\* hdate\_get\_translator\_string ()

name of translator **Returns:**

a static string with name of translator, or NULL if none.

### int hdate\_is\_hebrew\_locale ()

helper function to find hebrew locale **Returns:**

0 - latin locale, -1 - hebrew locale

### char\* hdate\_string (inttype\_of\_string, intindex, intshort\_form, inthebrew\_form)

Return string values for hdate information. **Returns:**

a pointer to a string containing the information. In the cases integers and omer, the strings will NOT be static, and the caller must free() them after use. Returns a null pointer upon failure.

**Parameters:**

*type\_of\_string* 0 = integer, 1 = day of week, 2 = parshaot, 3 = hmonth, 4 = gmonth, 5 = holiday, 6 = omer \
 *index* integer ( 0 \< n \< 11000) day of week ( 0 \< n \< 8 ) parshaot ( 0 , n \< 62 ) hmonth ( 0 \< n \< 15 ) gmonth ( 0 \< n \< 13 ) holiday ( 0 \< n \< 37 ) omer ( 0 \< n \< 50 ) \
 *short\_form* 0 = short format \
 *hebrew\_form* 0 = not hebrew (native/embedded)

## Author

Generated automatically by Doxygen for libhdate C language from the source code.
