WebRadioApp  0.1
calend.h
Go to the documentation of this file.
1 
20 #include "inttypes.h"
21 #include "time.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 int getTagDesJahres(const int uTag, const int uMonat, const int uJahr);
28 char getKalenderwoche(const int uTag, const int uMonat, const int uJahr);
29 int getWochentag(const int uTag, const int uMonat, const int uJahr);
30 
31 int offtime(int64_t *t, long int offset, struct tm *tp);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
getKalenderwoche
char getKalenderwoche(const int uTag, const int uMonat, const int uJahr)
Definition: calend.c:156
getWochentag
int getWochentag(const int uTag, const int uMonat, const int uJahr)
Definition: calend.c:70
LEAPS_THRU_END_OF
#define LEAPS_THRU_END_OF(y)
istEinSchaltjahr
char istEinSchaltjahr(const int uJahr)
Die Regel lautet: Alles, was durch 4 teilbar ist, ist ein Schaltjahr. Es sei denn,...
Definition: calend.c:37
calend.h
getAnzahlTageImMonat
int getAnzahlTageImMonat(const int uMonat, const int uJahr)
Definition: calend.c:48
getTagDesJahres
int getTagDesJahres(const int uTag, const int uMonat, const int uJahr)
Definition: calend.c:136
__isleap
#define __isleap(year)
offset
volatile int offset
Definition: mp3player.cpp:51
arrMonatsOffset
const int arrMonatsOffset[13]
Definition: calend.c:25
offtime
int offtime(int64_t *t, long int offset, struct tm *tp)
Definition: calend.c:203
SECS_PER_HOUR
#define SECS_PER_HOUR
SECS_PER_DAY
#define SECS_PER_DAY
arrTageImMonat
const int arrTageImMonat[13]
Definition: calend.c:23
getAnzahlTageImJahr
int getAnzahlTageImJahr(const int uJahr)
Definition: calend.c:65