XBee Firmware Library  1.6.0
Functions | Variables
xbee_time.c File Reference

Functions

void _xbee_mktime_normalize (int *major, int *minor, int count)
 
struct tm * xbee_gmtime (struct tm *dest_tm, xbee_utctime_t timestamp)
 Converts a UTCTime value into a "broken-down time" (a struct tm) for directly accessing month, day, year, hour, minute and second, or for use with other functions from <time.h>. More...
 
xbee_utctime_t xbee_mktime (struct tm *time_rec)
 Convert a struct tm (from the Standard C Library's time.h) to a xbee_utctime_t type (number of seconds since Midnight January 1, 2000 UTC). More...
 

Variables

const uint8_t _xbee_time_dom [2][12]
 
const uint16_t _xbee_time_jom [2][12]
 

Detailed Description

Implementations of time.h functions from the Standard C Library for platforms that may not support them, or for writing portable code to use January 1, 2000 as the epoch (as in the ZigBee specification).