Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_DateTime.cpp File Reference


Namespaces

namespace  CPLAT_Begin_Namespace_CPLAT

Enumerations

enum  CFDateFormatterStyle {
  kCFDateFormatterNoStyle = 0, kCFDateFormatterShortStyle = 1, kCFDateFormatterMediumStyle = 2, kCFDateFormatterLongStyle = 3,
  kCFDateFormatterFullStyle = 4
}

Functions

const CP_TimeZoneAssertTimeZone (const CP_TimeZone *tz)
void InitAMPMMarkers (std::vector< CP_String > &ampm)
void InitAbbrevNameWeekDays (std::vector< CP_String > &abbrevNameWeekDays)
void InitLongNameWeekDays (std::vector< CP_String > &longNameWeekDays)
void InitLongNameMonths (std::vector< CP_String > &longNameMonths)
void InitAbbrevNameMonths (std::vector< CP_String > &abbrevNameMonths)
SInt16 GetMonthFromAbbrevName (const CP_String &abbrevMonthName)
SInt16 GetMonthFromLongName (const CP_String &longMonthName, UInt32 *nameLength=NULL)
SInt16 GetWeekDayFromLongName (const CP_String &longWeekDay, UInt32 *nameLength=NULL)
CFTimeZoneRef AssertTimeZoneCFRef (const CP_TimeZone *tz)
CFDateFormatterStyle ConvertToCFDateFormatterStyle (CP_DateTime::FormatStyle inFormat)
double round (double inValue)
UInt64 ConvertToAbsolute100Nano (const FILETIME &theTime)
void ConvertFromAbsolute100Nano (UInt64 inValue, FILETIME *inOutResult)
bool IsLeapYear (UInt16 nYear)
SInt32 ComputeDayInYear (SYSTEMTIME &sysTime)
void FixTimeMarker (CP_String &strDateTimeFormat, bool bTimeMarker)
UInt32 _ParseDigits (const CP_String &inString, UInt32 &inOutIndex, int inDigitsToParse, bool *outValid)

Variables

static std::vector< CP_StringlongNameMonths
static std::vector< CP_StringabbrevNameMonths
static std::vector< CP_StringlongNameWeekDays
static std::vector< CP_StringabbrevNameWeekDays
static std::vector< CP_Stringampm

Enumeration Type Documentation

enum CFDateFormatterStyle
 

Enumeration values:
kCFDateFormatterNoStyle 
kCFDateFormatterShortStyle 
kCFDateFormatterMediumStyle 
kCFDateFormatterLongStyle 
kCFDateFormatterFullStyle 


Function Documentation

const CP_TimeZone& AssertTimeZone const CP_TimeZone tz  ) 
 

void InitAMPMMarkers std::vector< CP_String > &  ampm  ) 
 

void InitAbbrevNameWeekDays std::vector< CP_String > &  abbrevNameWeekDays  ) 
 

void InitLongNameWeekDays std::vector< CP_String > &  longNameWeekDays  ) 
 

void InitLongNameMonths std::vector< CP_String > &  longNameMonths  ) 
 

void InitAbbrevNameMonths std::vector< CP_String > &  abbrevNameMonths  ) 
 

SInt16 GetMonthFromAbbrevName const CP_String abbrevMonthName  ) 
 

SInt16 GetMonthFromLongName const CP_String longMonthName,
UInt32 nameLength = NULL
 

SInt16 GetWeekDayFromLongName const CP_String longWeekDay,
UInt32 nameLength = NULL
 

CFTimeZoneRef AssertTimeZoneCFRef const CP_TimeZone tz  ) 
 

CFDateFormatterStyle ConvertToCFDateFormatterStyle CP_DateTime::FormatStyle  inFormat  ) 
 

double round double  inValue  ) 
 

WARNING !!! to do

UInt64 ConvertToAbsolute100Nano const FILETIME &  theTime  ) 
 

void ConvertFromAbsolute100Nano UInt64  inValue,
FILETIME *  inOutResult
 

bool IsLeapYear UInt16  nYear  ) 
 

SInt32 ComputeDayInYear SYSTEMTIME &  sysTime  ) 
 

void FixTimeMarker CP_String strDateTimeFormat,
bool  bTimeMarker
 

UInt32 _ParseDigits const CP_String inString,
UInt32 inOutIndex,
int  inDigitsToParse,
bool *  outValid
 


Variable Documentation

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::longNameMonths [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::abbrevNameMonths [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::longNameWeekDays [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::abbrevNameWeekDays [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::ampm [static]
 


Generated on Sat Sep 17 20:01:14 2005 for CPLAT by  doxygen 1.4.0