Browse code

Oh boy... lots of changes, too many to describe

Nils Faerber authored on 21/04/2013 14:26:38
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
1
+#ifndef _CALENDAR_H
2
+#define _CALENDAR_H
3
+
4
+unsigned char is_leap(const unsigned int year);
5
+
6
+unsigned short days_of_month(const unsigned int uMonat, const unsigned int uJahr);
7
+
8
+short getAnzahlTageImJahr(const unsigned int uJahr);
9
+
10
+short getWochentag(const unsigned int uTag, const unsigned int uMonat, const unsigned int uJahr);
11
+
12
+short getTagDesJahres(const unsigned int uTag, const unsigned int uMonat, const unsigned int uJahr);
13
+
14
+short getKalenderwoche(short uTag, short uMonat, short uJahr);
15
+
16
+void getOsterdatum(const unsigned int uJahr, unsigned int *uTag, unsigned int *uMonat);
17
+
18
+void getViertenAdvent(const unsigned int uJahr, unsigned int *uTag, unsigned int *uMonat);
19
+
20
+#endif
21
+