FirteX-高性能全文索引和检索平台

API Documentation


首页 | 名字空间列表 | 类继承关系 | 组合类型列表 | $(BL\录(B | 文件列表 | 名字空间成员 | 组合类型成员 | 文件成员

firtex::utility::CDateTime类参考

#include <DateTime.h>

所有成员的列表。

公有成员

 CDateTime () throw ()
 CDateTime (int64_t time) throw ()
 CDateTime (int nYear, int nMonth, int nDay, int nHour, int nMin, int nSec, int nDST=-1)
CDateTimeoperator= (int64_t time) throw ()
CDateTimeoperator+= (CDateTimeSpan span) throw ()
CDateTimeoperator-= (CDateTimeSpan span) throw ()
CDateTimeSpan operator- (CDateTime time) const throw ()
CDateTime operator- (CDateTimeSpan span) const throw ()
CDateTime operator+ (CDateTimeSpan span) const throw ()
bool operator== (CDateTime time) const throw ()
bool operator!= (CDateTime time) const throw ()
bool operator< (CDateTime time) const throw ()
bool operator> (CDateTime time) const throw ()
bool operator<= (CDateTime time) const throw ()
bool operator>= (CDateTime time) const throw ()
int64_t getTime () const throw ()
tm * getGmtTm (struct tm *ptm=NULL) const throw ()
tstring format (const tstring &sformat="%Y/%m/%d %H:%M:%S") const

静态公有成员

CDateTime getCurrentTime () throw ()
tstring format (int64_t t, const tstring &sformat="%Y/%m/%d %H:%M:%S")
int isleap (int y)

友元

ostream & operator<< (ostream &os, const CDateTime &d)
istream & operator>> (istream &is, CDateTime &d)


构造及析构函数文档

firtex::utility::CDateTime::CDateTime  )  throw ()
 

firtex::utility::CDateTime::CDateTime int64_t  time  )  throw ()
 

firtex::utility::CDateTime::CDateTime int  nYear,
int  nMonth,
int  nDay,
int  nHour,
int  nMin,
int  nSec,
int  nDST = -1
 


成员函数文档

tstring firtex::utility::CDateTime::format int64_t  t,
const tstring &  sformat = "%Y/%m/%d %H:%M:%S"
[static]
 

tstring firtex::utility::CDateTime::format const tstring &  sformat = "%Y/%m/%d %H:%M:%S"  )  const
 

CDateTime firtex::utility::CDateTime::getCurrentTime  )  throw () [static]
 

struct tm* firtex::utility::CDateTime::getGmtTm struct tm *  ptm = NULL  )  const throw ()
 

int64_t firtex::utility::CDateTime::getTime  )  const throw ()
 

int firtex::utility::CDateTime::isleap int  y  )  [inline, static]
 

bool firtex::utility::CDateTime::operator!= CDateTime  time  )  const throw ()
 

CDateTime firtex::utility::CDateTime::operator+ CDateTimeSpan  span  )  const throw ()
 

CDateTime& firtex::utility::CDateTime::operator+= CDateTimeSpan  span  )  throw ()
 

CDateTime firtex::utility::CDateTime::operator- CDateTimeSpan  span  )  const throw ()
 

CDateTimeSpan firtex::utility::CDateTime::operator- CDateTime  time  )  const throw ()
 

CDateTime& firtex::utility::CDateTime::operator-= CDateTimeSpan  span  )  throw ()
 

bool firtex::utility::CDateTime::operator< CDateTime  time  )  const throw ()
 

bool firtex::utility::CDateTime::operator<= CDateTime  time  )  const throw ()
 

CDateTime& firtex::utility::CDateTime::operator= int64_t  time  )  throw ()
 

bool firtex::utility::CDateTime::operator== CDateTime  time  )  const throw ()
 

bool firtex::utility::CDateTime::operator> CDateTime  time  )  const throw ()
 

bool firtex::utility::CDateTime::operator>= CDateTime  time  )  const throw ()
 


友元及相关函数文档

ostream& operator<< ostream &  os,
const CDateTime d
[friend]
 

istream& operator>> istream &  is,
CDateTime d
[friend]
 


该类的文档由以下文件生成:

http://www.firtex.org http://www.sourceforge.net/projects/firtex