| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Friends
oracle::occi::Date Class Reference

`#include <occiData.h>`

List of all members.

## Public Member Functions

| Date ()
| Date (const Date &a)
| Date (const Environment *envp, int year=1, unsigned int month=1, unsigned int day=1, unsigned int hour=0, unsigned int minute=0, unsigned int seconds=0)
| ~Date ()
void | setDate (int year=1, unsigned int month=1, unsigned int day=1, unsigned int hour=0, unsigned int minute=0, unsigned int seconds=0)
void | getDate (int &year, unsigned int &month, unsigned int &day, unsigned int &hour, unsigned int &min, unsigned int &sec) const
Bytes | toBytes () const
void | fromBytes (const Bytes &byteStream, const Environment *envp=NULL)
OCCI_STD_NAMESPACE::string | toText (const OCCI_STD_NAMESPACE::string &fmt="", const OCCI_STD_NAMESPACE::string &nlsParam="") const
UString | toText (const UString &fmt, const UString &nlsParam) const
void | fromText (const OCCI_STD_NAMESPACE::string &datestr, const OCCI_STD_NAMESPACE::string &fmt="", const OCCI_STD_NAMESPACE::string &nlsParam="", const Environment *envp=NULL)
void | fromText (const UString &datestr, const UString &fmt, const UString &nlsParam, const Environment *envp=NULL)
Date | toZone (const OCCI_STD_NAMESPACE::string &zone1, const OCCI_STD_NAMESPACE::string &zone2) const
Date & | operator= (const Date &d)
Date | addMonths (int i) const
Date | addDays (int i) const
Date | lastDay () const
IntervalDS | daysBetween (const Date &d) const
Date | nextDay (const OCCI_STD_NAMESPACE::string &dow) const
Date | nextDay (const UString &dow) const
bool | isNull () const
void | setNull ()

## Static Public Member Functions

static Date | getSystemDate (const Environment *envp)

## Friends

class | ResultSetImpl
class | StatementImpl
class | AnyDataImpl
class | aq::MessageImpl
bool | operator== (const Date &a, const Date &b)
bool | operator> (const Date &a, const Date &b)
bool | operator< (const Date &a, const Date &b)
bool | operator!= (const Date &a, const Date &b)
bool | operator>= (const Date &a, const Date &b)
bool | operator<= (const Date &a, const Date &b)
void | getVector (const AnyData &any, OCCI_STD_NAMESPACE::vector< Date > &vect)
void | setVector (AnyData &any, const OCCI_STD_NAMESPACE::vector< Date > &vect)
void | getVector (Statement *stmt, unsigned int paramIndex, OCCI_STD_NAMESPACE::vector< Date > &vect)
void | do_setVectorOfDate (Statement *stmt, unsigned int paramIndex, const OCCI_STD_NAMESPACE::vector< Date > &vect, void *schemaName, unsigned int schemaNameLen, void *typeName, unsigned int typeNameLen)
void | getVector (ResultSet *rs, unsigned int colIndex, OCCI_STD_NAMESPACE::vector< Date > &vect)

## Constructor & Destructor Documentation

oracle::occi::Date::Date | ( |  | ) |

oracle::occi::Date::Date | ( | const Date & | a | ) |

oracle::occi::Date::Date | ( | const Environment * | envp,
|  | int | year = `1`,
|  | unsigned int | month = `1`,
|  | unsigned int | day = `1`,
|  | unsigned int | hour = `0`,
|  | unsigned int | minute = `0`,
|  | unsigned int | seconds = `0`
| ) |  |

oracle::occi::Date::~Date | ( |  | ) |

## Member Function Documentation

Date oracle::occi::Date::addDays | ( | int | i | ) | const

Date oracle::occi::Date::addMonths | ( | int | i | ) | const

IntervalDS oracle::occi::Date::daysBetween | ( | const Date & | d | ) | const

void oracle::occi::Date::fromBytes | ( | const Bytes & | byteStream,
|  | const Environment * | envp = `NULL`
| ) |  |

void oracle::occi::Date::fromText | ( | const UString & | datestr,
|  | const UString & | fmt,
|  | const UString & | nlsParam,
|  | const Environment * | envp = `NULL`
| ) |  |

void oracle::occi::Date::fromText | ( | const OCCI_STD_NAMESPACE::string & | datestr,
|  | const OCCI_STD_NAMESPACE::string & | fmt = `""`,
|  | const OCCI_STD_NAMESPACE::string & | nlsParam = `""`,
|  | const Environment * | envp = `NULL`
| ) |  |

void oracle::occi::Date::getDate | ( | int & | year,
|  | unsigned int & | month,
|  | unsigned int & | day,
|  | unsigned int & | hour,
|  | unsigned int & | min,
|  | unsigned int & | sec
| ) |  | const

static Date oracle::occi::Date::getSystemDate | ( | const Environment * | envp | ) | `[static]`

bool oracle::occi::Date::isNull | ( |  | ) | const

Date oracle::occi::Date::lastDay | ( |  | ) | const

Date oracle::occi::Date::nextDay | ( | const UString & | dow | ) | const

Date oracle::occi::Date::nextDay | ( | const OCCI_STD_NAMESPACE::string & | dow | ) | const

Date& oracle::occi::Date::operator= | ( | const Date & | d | ) |

void oracle::occi::Date::setDate | ( | int | year = `1`,
|  | unsigned int | month = `1`,
|  | unsigned int | day = `1`,
|  | unsigned int | hour = `0`,
|  | unsigned int | minute = `0`,
|  | unsigned int | seconds = `0`
| ) |  |

void oracle::occi::Date::setNull | ( |  | ) |

Bytes oracle::occi::Date::toBytes | ( |  | ) | const

UString oracle::occi::Date::toText | ( | const UString & | fmt,
|  | const UString & | nlsParam
| ) |  | const

OCCI_STD_NAMESPACE::string oracle::occi::Date::toText | ( | const OCCI_STD_NAMESPACE::string & | fmt = `""`,
|  | const OCCI_STD_NAMESPACE::string & | nlsParam = `""`
| ) |  | const

Date oracle::occi::Date::toZone | ( | const OCCI_STD_NAMESPACE::string & | zone1,
|  | const OCCI_STD_NAMESPACE::string & | zone2
| ) |  | const

## Friends And Related Function Documentation

friend class AnyDataImpl`[friend]`

friend class aq::MessageImpl`[friend]`

void do_setVectorOfDate | ( | Statement * | stmt,
|  | unsigned int | paramIndex,
|  | const OCCI_STD_NAMESPACE::vector< Date > & | vect,
|  | void * | schemaName,
|  | unsigned int | schemaNameLen,
|  | void * | typeName,
|  | unsigned int | typeNameLen
| ) |  | `[friend]`

void getVector | ( | ResultSet * | rs,
|  | unsigned int | colIndex,
|  | OCCI_STD_NAMESPACE::vector< Date > & | vect
| ) |  | `[friend]`

void getVector | ( | const AnyData & | any,
|  | OCCI_STD_NAMESPACE::vector< Date > & | vect
| ) |  | `[friend]`

void getVector | ( | Statement * | stmt,
|  | unsigned int | paramIndex,
|  | OCCI_STD_NAMESPACE::vector< Date > & | vect
| ) |  | `[friend]`

bool operator!= | ( | const Date & | a,
|  | const Date & | b
| ) |  | `[friend]`

bool operator< | ( | const Date & | a,
|  | const Date & | b
| ) |  | `[friend]`

bool operator<= | ( | const Date & | a,
|  | const Date & | b
| ) |  | `[friend]`

bool operator== | ( | const Date & | a,
|  | const Date & | b
| ) |  | `[friend]`

bool operator> | ( | const Date & | a,
|  | const Date & | b
| ) |  | `[friend]`

bool operator>= | ( | const Date & | a,
|  | const Date & | b
| ) |  | `[friend]`

friend class ResultSetImpl`[friend]`

void setVector | ( | AnyData & | any,
|  | const OCCI_STD_NAMESPACE::vector< Date > & | vect
| ) |  | `[friend]`

friend class StatementImpl`[friend]`

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/Oracle/OCI/include/occiData.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines