XMLBEANSXX  0.9.8
xmlbeansxx::Duration Class Reference

#include <Calendar.h>

List of all members.

Public Member Functions

 Duration ()
 Duration (const std::string &)
 Duration (const boost::posix_time::time_duration &)
DurationsetYears (int)
DurationsetYears (const std::string &)
int getYears ()
bool hasYears ()
DurationsetMonths (int)
DurationsetMonths (const std::string &)
int getMonths ()
bool hasMonths ()
DurationsetDays (int)
DurationsetDays (const std::string &)
int getDays ()
bool hasDays ()
DurationsetHours (int)
DurationsetHours (const std::string &)
int getHours ()
bool hasHours ()
DurationsetMinutes (int)
DurationsetMinutes (const std::string &)
int getMinutes ()
bool hasMinutes ()
DurationsetSeconds (int)
DurationsetSeconds (const std::string &)
int getSeconds ()
bool hasSeconds ()
DurationsetFracSec (int)
DurationsetFracSec (const std::string &)
int getFracSec ()
bool hasFracSec ()
bool hasFullDateInfo ()
bool hasFullTimeInfo ()
DurationsetNeg (bool)
bool isNeg () const
std::string toString ()
Durationoperator= (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

Constructor & Destructor Documentation

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]

Member Function Documentation

bool Duration::isNeg ( ) const
Duration & Duration::operator= ( const Duration d)
Duration & Duration::setDays ( const std::string &  d)
Duration & Duration::setFracSec ( const std::string &  f)
Duration & Duration::setHours ( const std::string &  h)
Duration & Duration::setMinutes ( const std::string &  m)
Duration & Duration::setMonths ( const std::string &  m)
Duration & Duration::setNeg ( bool  n)
Duration & Duration::setSeconds ( const std::string &  s)
Duration & Duration::setYears ( const std::string &  y)
std::string Duration::toString ( )

Member Data Documentation

bool xmlbeansxx::Duration::neg [private]

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