FirteX-高性能全文索引和检索平台API Documentation |
#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) | |
| CDateTime & | operator= (int64_t time) throw () |
| CDateTime & | operator+= (CDateTimeSpan span) throw () |
| CDateTime & | operator-= (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) |
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
http://www.firtex.org http://www.sourceforge.net/projects/firtex