Apache HTTPD
Macros | Functions
time.c File Reference
#include "apr_arch_atime.h"
#include "apr_time.h"
#include "apr_general.h"
#include "apr_lib.h"
#include "apr_portable.h"
#include <string.h>
#include <winbase.h>
#include "apr_arch_misc.h"

Go to the source code of this file.

Macros

#define IsLeapYear(y)   ((!(y % 4)) ? (((y % 400) && !(y % 100)) ? 0 : 1) : 0)
 

Functions

static DWORD get_local_timezone (TIME_ZONE_INFORMATION **tzresult)
 
static void SystemTimeToAprExpTime (apr_time_exp_t *xt, SYSTEMTIME *tm)
 
 APR_DECLARE (apr_status_t)
 
 APR_DECLARE (apr_time_t)
 
 APR_DECLARE (void)
 
static apr_status_t clock_restore (void *unsetres)
 

Macro Definition Documentation

◆ IsLeapYear

#define IsLeapYear (   y)    ((!(y % 4)) ? (((y % 400) && !(y % 100)) ? 0 : 1) : 0)

Definition at line 35 of file time.c.

Function Documentation

◆ clock_restore()

static apr_status_t clock_restore ( void *  unsetres)
static

Definition at line 327 of file time.c.

◆ get_local_timezone()

static DWORD get_local_timezone ( TIME_ZONE_INFORMATION **  tzresult)
static

Definition at line 37 of file time.c.

◆ SystemTimeToAprExpTime()

static void SystemTimeToAprExpTime ( apr_time_exp_t xt,
SYSTEMTIME tm 
)
static

Definition at line 52 of file time.c.