Digi XBee(R) ANSI C Host Library
Macros | Functions | Variables
xbee_time.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "xbee/platform.h"

Functions

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...
 
void _xbee_mktime_normalize (int *major, int *minor, int count)
 
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 uint16_t _xbee_time_jom [2][12]
 
const uint8_t _xbee_time_dom [2][12]