XMLBEANSXX
0.9.8
|
#include <Calendar.h>
Public Member Functions | |
Calendar () | |
Calendar (const boost::gregorian::date &) | |
Calendar (const boost::posix_time::ptime &) | |
Calendar (const std::string &) | |
Calendar & | setDate (const std::string &) |
Calendar & | setTime (const std::string &) |
Calendar & | setYearMonth (const std::string &) |
Calendar & | setgYear (const std::string &) |
Calendar & | setMonthDay (const std::string &) |
Calendar & | setgMonth (const std::string &) |
Calendar & | setgDay (const std::string &) |
Calendar & | setYear (int) |
Calendar & | setYear (const std::string &) |
int | getYear () const |
bool | hasYear () const |
Calendar & | setMonth (int) |
Calendar & | setMonth (const std::string &) |
int | getMonth () const |
bool | hasMonth () const |
Calendar & | setDay (int) |
Calendar & | setDay (const std::string &) |
int | getDay () const |
bool | hasDay () const |
Calendar & | setHour (int) |
Calendar & | setHour (const std::string &) |
int | getHour () const |
bool | hasHour () const |
Calendar & | setMinutes (int) |
Calendar & | setMinutes (const std::string &) |
int | getMinutes () const |
bool | hasMinutes () const |
Calendar & | setSeconds (int) |
Calendar & | setSeconds (const std::string &) |
int | getSeconds () const |
bool | hasSeconds () const |
Calendar & | setFracSec (int) |
Calendar & | setFracSec (const std::string &) |
int | getFracSec () const |
bool | hasFracSec () const |
bool | hasFullTimeInfo () const |
bool | hasFullDateInfo () const |
Calendar & | setGmtOff (int, int) |
bool | hasTimeZone () const |
Calendar & | dstOn () |
Calendar & | dstOff () |
Calendar & | dstUnknown () |
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 | |
Calendar & | operator= (const Calendar &) |
Calendar & | operator+ (const Duration &) |
Calendar & | operator- (const Duration &) |
Calendar & | timeZoneGuess () |
Private Member Functions | |
XMLBEANSXX_STATIC_LOGGER_PTR (Calendar_log) | |
void | fixTm () |
std::string | timeZoneToString () const |
Calendar & | applyDuration (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 |
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] |
Calendar & Calendar::applyDuration | ( | xmlbeansxx::Duration | dur | ) | [private] |
std::string Calendar::dateToString | ( | ) | const |
Calendar & Calendar::dstOff | ( | ) |
Calendar & Calendar::dstOn | ( | ) |
Calendar & Calendar::dstUnknown | ( | ) |
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::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 | ( | int | min | ) |
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 | ( | int | sec | ) |
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 |
xmlbeansxx::Calendar::XMLBEANSXX_STATIC_LOGGER_PTR | ( | Calendar_log | ) | [private] |
struct tm xmlbeansxx::Calendar::cal_tm [private] |
int xmlbeansxx::Calendar::flags [private] |
int xmlbeansxx::Calendar::frac_sec [private] |
int xmlbeansxx::Calendar::gmt_off_hours [private] |
int xmlbeansxx::Calendar::gmt_off_minutes [private] |