XMLBEANSXX  0.9.8
xmlbeansxx::Calendar Class Reference

#include <Calendar.h>

List of all members.

Public Member Functions

 Calendar ()
 Calendar (const boost::gregorian::date &)
 Calendar (const boost::posix_time::ptime &)
 Calendar (const std::string &)
CalendarsetDate (const std::string &)
CalendarsetTime (const std::string &)
CalendarsetYearMonth (const std::string &)
CalendarsetgYear (const std::string &)
CalendarsetMonthDay (const std::string &)
CalendarsetgMonth (const std::string &)
CalendarsetgDay (const std::string &)
CalendarsetYear (int)
CalendarsetYear (const std::string &)
int getYear () const
bool hasYear () const
CalendarsetMonth (int)
CalendarsetMonth (const std::string &)
int getMonth () const
bool hasMonth () const
CalendarsetDay (int)
CalendarsetDay (const std::string &)
int getDay () const
bool hasDay () const
CalendarsetHour (int)
CalendarsetHour (const std::string &)
int getHour () const
bool hasHour () const
CalendarsetMinutes (int)
CalendarsetMinutes (const std::string &)
int getMinutes () const
bool hasMinutes () const
CalendarsetSeconds (int)
CalendarsetSeconds (const std::string &)
int getSeconds () const
bool hasSeconds () const
CalendarsetFracSec (int)
CalendarsetFracSec (const std::string &)
int getFracSec () const
bool hasFracSec () const
bool hasFullTimeInfo () const
bool hasFullDateInfo () const
CalendarsetGmtOff (int, int)
bool hasTimeZone () const
CalendardstOn ()
CalendardstOff ()
CalendardstUnknown ()
bool isDstOn () const
bool isSetDst () const
int getDst () const
boost::gregorian::date getDate () const
boost::posix_time::ptime getTime () const
boost::posix_time::time_duration getTimeDuration () const
boost::posix_time::ptime getUTCTime () const
boost::posix_time::ptime getLocalTime () const
std::string dateToString () const
std::string timeToString () const
std::string utcTimeToString () const
std::string localTimeToString () const
std::string toXsdDateTime () const
std::string toXsdDate () const
std::string toXsdTime () const
std::string toXsdYearMonth () const
std::string toXsdYear () const
std::string toXsdMonthDay () const
std::string toXsdDay () const
std::string toXsdMonth () const
std::string toString () const
 operator boost::posix_time::ptime () const
Calendaroperator= (const Calendar &)
Calendaroperator+ (const Duration &)
Calendaroperator- (const Duration &)
CalendartimeZoneGuess ()

Private Member Functions

 XMLBEANSXX_STATIC_LOGGER_PTR (Calendar_log)
void fixTm ()
std::string timeZoneToString () const
CalendarapplyDuration (xmlbeansxx::Duration)
 Calendar (struct tm, int, int, int, int, int)
boost::posix_time::ptime timeZoneMagic (const boost::posix_time::ptime &)

Private Attributes

struct tm cal_tm
int frac_sec
int gmt_off_hours
int gmt_off_minutes
int flags

Constructor & Destructor Documentation

Calendar::Calendar ( const boost::gregorian::date &  date)
Calendar::Calendar ( const boost::posix_time::ptime &  ptime)
Calendar::Calendar ( const std::string &  str)
Calendar::Calendar ( struct tm  stm,
int  fs,
int  gh,
int  gm,
int  dst,
int  f 
) [private]

Member Function Documentation

std::string Calendar::dateToString ( ) const
void Calendar::fixTm ( ) [private]
boost::gregorian::date Calendar::getDate ( ) const
int Calendar::getDay ( ) const
int Calendar::getDst ( ) const
int Calendar::getFracSec ( ) const
int Calendar::getHour ( ) const
boost::posix_time::ptime Calendar::getLocalTime ( ) const
int Calendar::getMinutes ( ) const
int Calendar::getMonth ( ) const
int Calendar::getSeconds ( ) const
boost::posix_time::ptime Calendar::getTime ( ) const
boost::posix_time::time_duration Calendar::getTimeDuration ( ) const
boost::posix_time::ptime Calendar::getUTCTime ( ) const
int Calendar::getYear ( ) const
bool Calendar::hasDay ( ) const
bool Calendar::hasFracSec ( ) const
bool Calendar::hasFullDateInfo ( ) const
bool Calendar::hasFullTimeInfo ( ) const
bool Calendar::hasHour ( ) const
bool Calendar::hasMinutes ( ) const
bool Calendar::hasMonth ( ) const
bool Calendar::hasSeconds ( ) const
bool Calendar::hasTimeZone ( ) const
bool Calendar::hasYear ( ) const
bool Calendar::isDstOn ( ) const
bool Calendar::isSetDst ( ) const
std::string Calendar::localTimeToString ( ) const
xmlbeansxx::Calendar::operator boost::posix_time::ptime ( ) const [inline]
Calendar & Calendar::operator+ ( const Duration d)
Calendar & Calendar::operator- ( const Duration d)
Calendar & Calendar::operator= ( const Calendar c)
Calendar & Calendar::setDate ( const std::string &  str)
Calendar & Calendar::setDay ( int  day)
Calendar & Calendar::setDay ( const std::string &  day)
Calendar & Calendar::setFracSec ( int  fsec)
Calendar & Calendar::setFracSec ( const std::string &  fsec)
Calendar & Calendar::setgDay ( const std::string &  str)
Calendar & Calendar::setgMonth ( const std::string &  str)
Calendar & Calendar::setGmtOff ( int  hour,
int  minutes 
)
Calendar & Calendar::setgYear ( const std::string &  str)
Calendar & Calendar::setHour ( int  hour)
Calendar & Calendar::setHour ( const std::string &  hour)
Calendar & Calendar::setMinutes ( const std::string &  min)
Calendar & Calendar::setMonth ( int  month)
Calendar & Calendar::setMonth ( const std::string &  month)
Calendar & Calendar::setMonthDay ( const std::string &  str)
Calendar & Calendar::setSeconds ( const std::string &  sec)
Calendar & Calendar::setTime ( const std::string &  str)
Calendar & Calendar::setYear ( int  year)
Calendar & Calendar::setYear ( const std::string &  year)
Calendar & Calendar::setYearMonth ( const std::string &  str)
std::string Calendar::timeToString ( ) const
boost::posix_time::ptime Calendar::timeZoneMagic ( const boost::posix_time::ptime &  t) [private]
std::string Calendar::timeZoneToString ( ) const [private]
std::string Calendar::toString ( ) const
std::string Calendar::toXsdDate ( ) const
std::string Calendar::toXsdDateTime ( ) const
std::string Calendar::toXsdDay ( ) const
std::string Calendar::toXsdMonth ( ) const
std::string Calendar::toXsdMonthDay ( ) const
std::string Calendar::toXsdTime ( ) const
std::string Calendar::toXsdYear ( ) const
std::string Calendar::toXsdYearMonth ( ) const
std::string Calendar::utcTimeToString ( ) const

Member Data Documentation

struct tm xmlbeansxx::Calendar::cal_tm [private]

The documentation for this class was generated from the following files: