| TerraLib 4.1

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

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

Public Member Functions | Friends
oracle::occi::Timestamp Class Reference

`#include <occiData.h>`

List of all members.

## Public Member Functions

| Timestamp ()
| Timestamp (const Environment *env, int year=1, unsigned int month=1, unsigned int day=1, unsigned int hour=0, unsigned int min=0, unsigned int sec=0, unsigned int fs=0, int tzhour=0, int tzmin=0)
| Timestamp (const Environment *env, int year, unsigned int month, unsigned int day, unsigned int hour, unsigned int min, unsigned int sec, unsigned int fs, const OCCI_STD_NAMESPACE::string &timezone)
| Timestamp (const Environment *env, int year, unsigned int month, unsigned int day, unsigned int hour, unsigned int min, unsigned int sec, unsigned int fs, const UString &timezone)
| Timestamp (const Timestamp &src)
| ~Timestamp ()
void | getTimeZoneOffset (int &hour, int &minute) const
void | getTime (unsigned int &hour, unsigned int &minute, unsigned int &second, unsigned int &fs) const
void | getDate (int &year, unsigned int &month, unsigned int &day) const
OCCI_STD_NAMESPACE::string | toText (const OCCI_STD_NAMESPACE::string &fmt, unsigned int fsprec, const OCCI_STD_NAMESPACE::string &nlsParam="") const
UString | toText (const UString &fmt, unsigned int fsprec, const UString &nlsParam) const
void | setTimeZoneOffset (int hour, int minute)
void | setTime (unsigned int hour, unsigned int minute, unsigned int second, unsigned int fs)
void | setDate (int year, unsigned int month, unsigned int day)
void | setNull ()
void | fromText (const OCCI_STD_NAMESPACE::string &timestmpStr, const OCCI_STD_NAMESPACE::string &fmt, const OCCI_STD_NAMESPACE::string &nlsParam="", const Environment *env=NULL)
void | fromText (const UString &timestmpStr, const UString &fmt, const UString &nlsParam, const Environment *env=NULL)
bool | isNull () const
Timestamp & | operator= (const Timestamp &src)
const IntervalYM | subYM (const Timestamp &val) const
const IntervalDS | subDS (const Timestamp &val) const
const Timestamp | intervalAdd (const IntervalDS &val) const
const Timestamp | intervalSub (const IntervalDS &val) const
const Timestamp | intervalAdd (const IntervalYM &val) const
const Timestamp | intervalSub (const IntervalYM &val) const

## Friends

class | ResultSetImpl
class | StatementImpl
class | AnyDataImpl
bool | operator== (const Timestamp &a, const Timestamp &b)
bool | operator> (const Timestamp &a, const Timestamp &b)
bool | operator< (const Timestamp &a, const Timestamp &b)
bool | operator!= (const Timestamp &a, const Timestamp &b)
bool | operator>= (const Timestamp &a, const Timestamp &b)
bool | operator<= (const Timestamp &a, const Timestamp &b)
void | getVector (const AnyData &any, OCCI_STD_NAMESPACE::vector< Timestamp > &vect)
void | setVector (AnyData &any, const OCCI_STD_NAMESPACE::vector< Timestamp > &vect)
Timestamp | MetaData::getTimestamp (MetaData::AttrId attrid) const
void | getVector (ResultSet *rs, unsigned int, OCCI_STD_NAMESPACE::vector< Timestamp > &vect)
void | getVector (Statement *rs, unsigned int, OCCI_STD_NAMESPACE::vector< Timestamp > &vect)
void | do_setVectorOfTimestamp (Statement *stmt, unsigned int paramIndex, const OCCI_STD_NAMESPACE::vector< Timestamp > &vect, void *schemaName, unsigned int schemaNameLen, void *typeName, unsigned int typeNameLen)

## Constructor & Destructor Documentation

oracle::occi::Timestamp::Timestamp | ( |  | ) |

oracle::occi::Timestamp::Timestamp | ( | const Environment * | env,
|  | int | year = `1`,
|  | unsigned int | month = `1`,
|  | unsigned int | day = `1`,
|  | unsigned int | hour = `0`,
|  | unsigned int | min = `0`,
|  | unsigned int | sec = `0`,
|  | unsigned int | fs = `0`,
|  | int | tzhour = `0`,
|  | int | tzmin = `0`
| ) |  |

oracle::occi::Timestamp::Timestamp | ( | const Environment * | env,
|  | int | year,
|  | unsigned int | month,
|  | unsigned int | day,
|  | unsigned int | hour,
|  | unsigned int | min,
|  | unsigned int | sec,
|  | unsigned int | fs,
|  | const OCCI_STD_NAMESPACE::string & | timezone
| ) |  |

oracle::occi::Timestamp::Timestamp | ( | const Environment * | env,
|  | int | year,
|  | unsigned int | month,
|  | unsigned int | day,
|  | unsigned int | hour,
|  | unsigned int | min,
|  | unsigned int | sec,
|  | unsigned int | fs,
|  | const UString & | timezone
| ) |  |

oracle::occi::Timestamp::Timestamp | ( | const Timestamp & | src | ) |

oracle::occi::Timestamp::~Timestamp | ( |  | ) |

## Member Function Documentation

void oracle::occi::Timestamp::fromText | ( | const OCCI_STD_NAMESPACE::string & | timestmpStr,
|  | const OCCI_STD_NAMESPACE::string & | fmt,
|  | const OCCI_STD_NAMESPACE::string & | nlsParam = `""`,
|  | const Environment * | env = `NULL`
| ) |  |

void oracle::occi::Timestamp::fromText | ( | const UString & | timestmpStr,
|  | const UString & | fmt,
|  | const UString & | nlsParam,
|  | const Environment * | env = `NULL`
| ) |  |

void oracle::occi::Timestamp::getDate | ( | int & | year,
|  | unsigned int & | month,
|  | unsigned int & | day
| ) |  | const

void oracle::occi::Timestamp::getTime | ( | unsigned int & | hour,
|  | unsigned int & | minute,
|  | unsigned int & | second,
|  | unsigned int & | fs
| ) |  | const

void oracle::occi::Timestamp::getTimeZoneOffset | ( | int & | hour,
|  | int & | minute
| ) |  | const

const Timestamp oracle::occi::Timestamp::intervalAdd | ( | const IntervalDS & | val | ) | const

const Timestamp oracle::occi::Timestamp::intervalAdd | ( | const IntervalYM & | val | ) | const

const Timestamp oracle::occi::Timestamp::intervalSub | ( | const IntervalDS & | val | ) | const

const Timestamp oracle::occi::Timestamp::intervalSub | ( | const IntervalYM & | val | ) | const

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

Timestamp& oracle::occi::Timestamp::operator= | ( | const Timestamp & | src | ) |

void oracle::occi::Timestamp::setDate | ( | int | year,
|  | unsigned int | month,
|  | unsigned int | day
| ) |  |

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

void oracle::occi::Timestamp::setTime | ( | unsigned int | hour,
|  | unsigned int | minute,
|  | unsigned int | second,
|  | unsigned int | fs
| ) |  |

void oracle::occi::Timestamp::setTimeZoneOffset | ( | int | hour,
|  | int | minute
| ) |  |

const IntervalDS oracle::occi::Timestamp::subDS | ( | const Timestamp & | val | ) | const

const IntervalYM oracle::occi::Timestamp::subYM | ( | const Timestamp & | val | ) | const

UString oracle::occi::Timestamp::toText | ( | const UString & | fmt,
|  | unsigned int | fsprec,
|  | const UString & | nlsParam
| ) |  | const

OCCI_STD_NAMESPACE::string oracle::occi::Timestamp::toText | ( | const OCCI_STD_NAMESPACE::string & | fmt,
|  | unsigned int | fsprec,
|  | const OCCI_STD_NAMESPACE::string & | nlsParam = `""`
| ) |  | const

## Friends And Related Function Documentation

friend class AnyDataImpl`[friend]`

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

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

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

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

Timestamp MetaData::getTimestamp | ( | MetaData::AttrId | attrid | ) | const`[friend]`

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

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

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

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

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

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

friend class ResultSetImpl`[friend]`

void setVector | ( | AnyData & | any,
|  | const OCCI_STD_NAMESPACE::vector< Timestamp > & | 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