XMLBEANSXX
0.9.8
|
#include <Calendar.h>
Public Member Functions | |
Duration () | |
Duration (const std::string &) | |
Duration (const boost::posix_time::time_duration &) | |
Duration & | setYears (int) |
Duration & | setYears (const std::string &) |
int | getYears () |
bool | hasYears () |
Duration & | setMonths (int) |
Duration & | setMonths (const std::string &) |
int | getMonths () |
bool | hasMonths () |
Duration & | setDays (int) |
Duration & | setDays (const std::string &) |
int | getDays () |
bool | hasDays () |
Duration & | setHours (int) |
Duration & | setHours (const std::string &) |
int | getHours () |
bool | hasHours () |
Duration & | setMinutes (int) |
Duration & | setMinutes (const std::string &) |
int | getMinutes () |
bool | hasMinutes () |
Duration & | setSeconds (int) |
Duration & | setSeconds (const std::string &) |
int | getSeconds () |
bool | hasSeconds () |
Duration & | setFracSec (int) |
Duration & | setFracSec (const std::string &) |
int | getFracSec () |
bool | hasFracSec () |
bool | hasFullDateInfo () |
bool | hasFullTimeInfo () |
Duration & | setNeg (bool) |
bool | isNeg () const |
std::string | toString () |
Duration & | operator= (const Duration &) |
Private Member Functions | |
Duration (int, int, int, int, int, int, int, bool, int) | |
Private Attributes | |
int | years |
int | months |
int | days |
int | hours |
int | minutes |
int | seconds |
int | frac_sec |
bool | neg |
int | flags |
Duration::Duration | ( | const std::string & | dur | ) |
xmlbeansxx::Duration::Duration | ( | const boost::posix_time::time_duration & | ) |
Duration::Duration | ( | int | y, |
int | m, | ||
int | d, | ||
int | ho, | ||
int | mi, | ||
int | se, | ||
int | fs, | ||
bool | ne, | ||
int | fl | ||
) | [private] |
int Duration::getDays | ( | ) |
int Duration::getFracSec | ( | ) |
int Duration::getHours | ( | ) |
int Duration::getMinutes | ( | ) |
int Duration::getMonths | ( | ) |
int Duration::getSeconds | ( | ) |
int Duration::getYears | ( | ) |
bool Duration::hasDays | ( | ) |
bool Duration::hasFracSec | ( | ) |
bool Duration::hasFullDateInfo | ( | ) |
bool Duration::hasFullTimeInfo | ( | ) |
bool Duration::hasHours | ( | ) |
bool Duration::hasMinutes | ( | ) |
bool Duration::hasMonths | ( | ) |
bool Duration::hasSeconds | ( | ) |
bool Duration::hasYears | ( | ) |
bool Duration::isNeg | ( | ) | const |
Duration & Duration::setDays | ( | int | d | ) |
Duration & Duration::setDays | ( | const std::string & | d | ) |
Duration & Duration::setFracSec | ( | int | f | ) |
Duration & Duration::setFracSec | ( | const std::string & | f | ) |
Duration & Duration::setHours | ( | int | h | ) |
Duration & Duration::setHours | ( | const std::string & | h | ) |
Duration & Duration::setMinutes | ( | int | m | ) |
Duration & Duration::setMinutes | ( | const std::string & | m | ) |
Duration & Duration::setMonths | ( | int | m | ) |
Duration & Duration::setMonths | ( | const std::string & | m | ) |
Duration & Duration::setNeg | ( | bool | n | ) |
Duration & Duration::setSeconds | ( | int | s | ) |
Duration & Duration::setSeconds | ( | const std::string & | s | ) |
Duration & Duration::setYears | ( | int | y | ) |
Duration & Duration::setYears | ( | const std::string & | y | ) |
std::string Duration::toString | ( | ) |
int xmlbeansxx::Duration::days [private] |
int xmlbeansxx::Duration::flags [private] |
int xmlbeansxx::Duration::frac_sec [private] |
int xmlbeansxx::Duration::hours [private] |
int xmlbeansxx::Duration::minutes [private] |
int xmlbeansxx::Duration::months [private] |
bool xmlbeansxx::Duration::neg [private] |
int xmlbeansxx::Duration::seconds [private] |
int xmlbeansxx::Duration::years [private] |