njb_time_struct(3)
NAME
njb_time_struct
SYNOPSIS
#include <libnjb.h> Data Fields int16_t year int16_t month int16_t day int16_t weekday int16_t hours int16_t minutes int16_t seconds
Detailed Description
Time set/read struct
Examples:
dumptime.c, and settime.c.
Field Documentation
- int16_t njb_time_struct::year
- Year (4 digits)
- Examples:
dumptime.c, and settime.c.
- int16_t njb_time_struct::month
- Month (0-11)
- Examples:
dumptime.c, and settime.c.
- int16_t njb_time_struct::day
- Day (0-31)
- Examples:
dumptime.c, and settime.c.
- int16_t njb_time_struct::weekday
- Day of the week 0=sunday, 6=saturday
- Examples:
dumptime.c, and settime.c.
- int16_t njb_time_struct::hours
- Hours (24-hour notation)
- Examples:
dumptime.c, and settime.c.
- int16_t njb_time_struct::minutes
- Minutes
- Examples:
dumptime.c, and settime.c.
- int16_t njb_time_struct::seconds
- Seconds
- Examples:
dumptime.c, and settime.c.
Author
- Generated automatically by Doxygen for libnjb from the source code.