ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

time.c File Reference
#include <rtl.h>
#include <debug.h>

Go to the source code of this file.

Defines

#define NDEBUG
#define TICKSPERMIN   600000000
#define TICKSPERSEC   10000000
#define TICKSPERMSEC   10000
#define SECSPERDAY   86400
#define SECSPERHOUR   3600
#define SECSPERMIN   60
#define MINSPERHOUR   60
#define HOURSPERDAY   24
#define EPOCHWEEKDAY   1
#define DAYSPERWEEK   7
#define EPOCHYEAR   1601
#define DAYSPERNORMALYEAR   365
#define DAYSPERLEAPYEAR   366
#define MONSPERYEAR   12
#define TICKSTO1970   0x019db1ded53e8000i64
#define TICKSTO1980   0x01a8e79fe1d58000i64

Functions

static __inline int IsLeapYear (int Year)
static int DaysSinceEpoch (int Year)
BOOLEAN NTAPI RtlCutoverTimeToSystemTime (IN PTIME_FIELDS CutoverTimeFields, OUT PLARGE_INTEGER SystemTime, IN PLARGE_INTEGER CurrentTime, IN BOOLEAN ThisYearsCutoverOnly)
BOOLEAN NTAPI RtlTimeFieldsToTime (IN PTIME_FIELDS TimeFields, OUT PLARGE_INTEGER Time)
VOID NTAPI RtlTimeToElapsedTimeFields (IN PLARGE_INTEGER Time, OUT PTIME_FIELDS TimeFields)
VOID NTAPI RtlTimeToTimeFields (IN PLARGE_INTEGER Time, OUT PTIME_FIELDS TimeFields)
BOOLEAN NTAPI RtlTimeToSecondsSince1970 (IN PLARGE_INTEGER Time, OUT PULONG SecondsSince1970)
BOOLEAN NTAPI RtlTimeToSecondsSince1980 (IN PLARGE_INTEGER Time, OUT PULONG SecondsSince1980)
NTSTATUS NTAPI RtlLocalTimeToSystemTime (IN PLARGE_INTEGER LocalTime, OUT PLARGE_INTEGER SystemTime)
NTSTATUS NTAPI RtlSystemTimeToLocalTime (IN PLARGE_INTEGER SystemTime, OUT PLARGE_INTEGER LocalTime)
VOID NTAPI RtlSecondsSince1970ToTime (IN ULONG SecondsSince1970, OUT PLARGE_INTEGER Time)
VOID NTAPI RtlSecondsSince1980ToTime (IN ULONG SecondsSince1980, OUT PLARGE_INTEGER Time)

Variables

static const unsigned int YearLengths [2]
static const UCHAR MonthLengths [2][MONSPERYEAR]

Generated on Sun May 27 2012 04:46:09 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.