time 1.0
Time validation library
Loading...
Searching...
No Matches
time.h
Go to the documentation of this file.
1
20
21#ifndef FORMAT_TIME_H_
22#define FORMAT_TIME_H_
23
35 {
36 unsigned char hour;
37 unsigned char minute;
38 unsigned char second;
39 };
40
45 typedef struct FORMAT_Time_t FORMAT_Time;
46
59 {
60 unsigned char day;
61 unsigned char month;
62 unsigned char year;
63 };
64
69 typedef struct FORMAT_Date_t FORMAT_Date;
70
87
93
94#endif /* FORMAT_TIME_H_ */
Combines date and time into a single timestamp structure.
Definition time.h:83
FORMAT_Date date
Definition time.h:84
FORMAT_Time time
Definition time.h:85
Represents a compact calendar date using day, month, and year fields.
Definition time.h:59
unsigned char year
Definition time.h:62
unsigned char month
Definition time.h:61
unsigned char day
Definition time.h:60
Represents a time of day using hour, minute, and second fields.
Definition time.h:35
unsigned char second
Definition time.h:38
unsigned char minute
Definition time.h:37
unsigned char hour
Definition time.h:36
struct FORMAT_DateTime_t FORMAT_DateTime
Alias for struct FORMAT_DateTime_t representing a combined date-time value.
Definition time.h:92
struct FORMAT_Time_t FORMAT_Time
Alias for struct FORMAT_Time_t representing a formatted time of day.
Definition time.h:45
struct FORMAT_Date_t FORMAT_Date
Alias for struct FORMAT_Date_t representing a formatted calendar date.
Definition time.h:69