Windows C++ Library
Functions | Variables
Date.cpp File Reference
#include "Common.hpp"
#include "Date.hpp"
#include <time.h>
#include "StrCvt.hpp"
#include "IInputStream.hpp"
#include "IOutputStream.hpp"
#include <stdio.h>
#include <tchar.h>
#include <Core/AnsiWide.hpp>
#include <Core/StringUtils.hpp>
#include <Core/BadLogicException.hpp>
#include <malloc.h>
#include <Core/InvalidArgException.hpp>

Functions

void operator>> (WCL::IInputStream &rStream, CDate &rDate)
void operator<< (WCL::IOutputStream &rStream, const CDate &rDate)

Variables

const int DAYS_PER_YEAR = 365
const int DAYS_PER_LEAP_YEAR = 366
const int DAYS_PER_4_YEARS = (DAYS_PER_YEAR * 3) + DAYS_PER_LEAP_YEAR
const size_t ISO_FMT_MAX_LEN = 10
static int DaysPerMonth [2][12]

Function Documentation

void operator>> ( WCL::IInputStream rStream,
CDate rDate 
)
void operator<< ( WCL::IOutputStream rStream,
const CDate rDate 
)

Variable Documentation

const int DAYS_PER_YEAR = 365
const int DAYS_PER_LEAP_YEAR = 366
const size_t ISO_FMT_MAX_LEN = 10
int DaysPerMonth[2][12] [static]
Initial value:
 {

{   31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
{   31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } }