Codebase list libhdate / 1fab832
[svn-upgrade] Tagging new upstream version, libhdate (1.4.12) Lior Kaplan 15 years ago
2 changed file(s) with 146 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ## Process this file with automake to produce Makefile.in
1
2 SUBDIRS = po docs src examples bindings
3
4 pkgconfigdir = $(libdir)/pkgconfig
5 pkgconfig_DATA = libhdate.pc
6
7 libhdatedocdir = ${prefix}/share/doc/libhdate
8 libhdatedoc_DATA = \
9 README\
10 COPYING\
11 AUTHORS\
12 ChangeLog\
13 INSTALL\
14 NEWS\
15 USE \
16 ABOUT-NLS
17
18 EXTRA_DIST = $(libhdatedoc_DATA) libhdate.pc.in
19
20 ACLOCAL_AMFLAGS = -I m4
0 .\" .UC 4
1 .TH "HDATE" "1" "2 Mar 2005" "Yaacov Zamir" "libhdate"
2 .SH "NAME"
3 hdate \- Hebrew date and calendar
4 .PP
5 example programs for libhdate, a library that help use Hebrew dates.
6 .PP
7 LibHdate is a small C,C++ library for Hebrew dates,
8 holidays, and reading sequence (parasha). It is using
9 the source code from Amos Shapir's "hdate" package fixed and
10 patched by Nadav Har'El. The Torah reading sequence
11 is from tables by Zvi Har'El.
12 .SH "SYNOPSIS"
13 .B hdate
14 [\-sctShHrRjdi]
15 .PP
16 [\-L longitude \-l latitude]
17 [\-z timezone]
18 .PP
19 [[[day] month] year]/[julian_day]
20 .SH "DESCRIPTION"
21 .I Hdate
22 translates the specified date to the Hebrew calendar.
23 If no arguments are given, it uses today's date.
24 `month' is a number between 1 and 12.
25 .PP
26 If the year is greater than 3000
27 .I hdate
28 takes the given date as a Hebrew date, and translates it
29 back to the common calendar. If argument is greater than 100000
30 .I hdate
31 takes it as the Julian day number.
32 Months are numbered with Tishrey being 1 and Elul 12; Adar I and Adar II are months 13 and 14.
33 .PP
34 .I \-s
35 : Print sunrise/sunset times.
36 .PP
37 .I \-c
38 : Print Shabat enter/leave times.
39 Shabat starts 20 min before sunset,
40 and exits when three stars are out.
41 .PP
42 .I \-t
43 : Print day times list.
44 .PP
45 first light, talit, sunrise, mid day, sunset, first stars, three stars.
46 .PP
47 .I \-S
48 : Print using short format.
49 .PP
50 .I \-h
51 : Print holidays.
52 .PP
53 .I \-H
54 : Print just holidays.
55 .PP
56 .I \-r
57 : Print weekly reading on Saturday.
58 .PP
59 .I \-R
60 : Print just weekly reading on Saturday.
61 .PP
62 .I \-j
63 : Print Julian day number.
64 .PP
65 .I \-d
66 : Use diaspora reading and holidays.
67 .PP
68 .I \-i
69 : Use iCal formatted output.
70 .PP
71 .I \-l
72 xx : Set the latitude for solar calculations to
73 .PP
74 xx degrees. Negative values are south.
75 .PP
76 .I \-L
77 xx : Set the longitude for solar calculations to
78 .PP
79 xx degrees. *Negative values are EAST*.
80 .PP
81 .I \-z
82 : Use specified timezone.
83 .PP
84 ( default location for sunrise/set is Tel Aviv ).
85 .SH "EXAMPLES"
86 .B hdate -Hi 2025
87 .PP
88 Creates an iCal calendar of the holidays of year 2025.
89 .PP
90 .B hdate -sR 4 2031 -l29 -L-34 -z2
91 .PP
92 Print out the weekly readings and sunset/sunrise times in Eilat on April 2031.
93 .PP
94 .PP
95 .B Useful locations and time zones
96 .PP
97 Eilat : 29, -34, 2
98 .PP
99 Haifa : 32, -34, 2
100 .PP
101 Jerusalem : 31, -35, 2
102 .PP
103 Tel Aviv : 32, -34, 2
104 .PP
105 Ashdod : 31, -34, 2
106 .PP
107 Beer Sheva : 31, -34, 2
108 .PP
109 Tiberias : 32, -35, 2
110 .PP
111 .PP
112 London : 51, 0, 0
113 .PP
114 Paris : 48, -2, 1
115 .PP
116 New York : 40, 74, -5
117 .PP
118 Moscow : 55, -37, 3
119 .PP
120 .PP
121 .SH "SEE ALSO"
122 date(1), cal(1), hcal(1), hebcal(1), remind(1), hdate.h(3), hdate_struct(3)
123 .SH "AUTHOR"
124 Yaacov Zamir 2005, text copied from Amos Shapir's hdate man file.