FireBirdLib - Topfield TMS PVR TAP Programming Library
DayOfWeek.c
Go to the documentation of this file.
1
#include "
libFireBird.h
"
2
3
char
WDString
[8][4] = {
"Mon"
,
"Tue"
,
"Wed"
,
"Thu"
,
"Fri"
,
"Sat"
,
"Sun"
,
"???"
};
4
5
char
*
DayOfWeek
(
byte
WeekDay)
6
{
7
TRACEENTER
();
8
9
if
(WeekDay > 7) WeekDay = 7;
10
11
TRACEEXIT
();
12
return
WDString
[WeekDay];
13
}
WDString
char WDString[8][4]
Definition:
DayOfWeek.c:3
DayOfWeek
char * DayOfWeek(byte WeekDay)
Definition:
DayOfWeek.c:5
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
time
DayOfWeek.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3