#include <TDatime.h>
Public Member Functions | |
TDatime () | |
TDatime (const TDatime &d) | |
TDatime (UInt_t tloc, Bool_t dosDate=kFALSE) | |
TDatime (Int_t date, Int_t time) | |
TDatime (Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec) | |
TDatime (const char *sqlDateTime) | |
virtual | ~TDatime () |
TDatime & | operator= (const TDatime &d) |
const char * | AsString () const |
const char * | AsString (char *out) const |
const char * | AsSQLString () const |
UInt_t | Convert (Bool_t toGMT=kFALSE) const |
void | Copy (TDatime &datime) const |
UInt_t | Get () const |
Int_t | GetDate () const |
Int_t | GetTime () const |
Int_t | GetYear () const |
Int_t | GetMonth () const |
Int_t | GetDay () const |
Int_t | GetDayOfWeek () const |
Int_t | GetHour () const |
Int_t | GetMinute () const |
Int_t | GetSecond () const |
void | FillBuffer (char *&buffer) |
void | Print (Option_t *option="") const |
void | ReadBuffer (char *&buffer) |
void | Set () |
void | Set (UInt_t tloc, Bool_t dosDate=kFALSE) |
void | Set (Int_t date, Int_t time) |
void | Set (Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec) |
void | Set (const char *sqlDateTime) |
Int_t | Sizeof () const |
TDatime () | |
TDatime (const TDatime &d) | |
TDatime (UInt_t tloc, Bool_t dosDate=kFALSE) | |
TDatime (Int_t date, Int_t time) | |
TDatime (Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec) | |
TDatime (const char *sqlDateTime) | |
virtual | ~TDatime () |
TDatime & | operator= (const TDatime &d) |
const char * | AsString () const |
const char * | AsString (char *out) const |
const char * | AsSQLString () const |
UInt_t | Convert (Bool_t toGMT=kFALSE) const |
void | Copy (TDatime &datime) const |
UInt_t | Get () const |
Int_t | GetDate () const |
Int_t | GetTime () const |
Int_t | GetYear () const |
Int_t | GetMonth () const |
Int_t | GetDay () const |
Int_t | GetDayOfWeek () const |
Int_t | GetHour () const |
Int_t | GetMinute () const |
Int_t | GetSecond () const |
void | FillBuffer (char *&buffer) |
void | Print (Option_t *option="") const |
void | ReadBuffer (char *&buffer) |
void | Set () |
void | Set (UInt_t tloc, Bool_t dosDate=kFALSE) |
void | Set (Int_t date, Int_t time) |
void | Set (Int_t year, Int_t month, Int_t day, Int_t hour, Int_t min, Int_t sec) |
void | Set (const char *sqlDateTime) |
Int_t | Sizeof () const |
Static Public Member Functions | |
static void | GetDateTime (UInt_t datetime, Int_t &date, Int_t &time) |
static void | GetDateTime (UInt_t datetime, Int_t &date, Int_t &time) |
Protected Attributes | |
UInt_t | fDatime |
Friends | |
Bool_t | operator== (const TDatime &d1, const TDatime &d2) |
Bool_t | operator!= (const TDatime &d1, const TDatime &d2) |
Bool_t | operator< (const TDatime &d1, const TDatime &d2) |
Bool_t | operator<= (const TDatime &d1, const TDatime &d2) |
Bool_t | operator> (const TDatime &d1, const TDatime &d2) |
Bool_t | operator>= (const TDatime &d1, const TDatime &d2) |
Bool_t | operator== (const TDatime &d1, const TDatime &d2) |
Bool_t | operator!= (const TDatime &d1, const TDatime &d2) |
Bool_t | operator< (const TDatime &d1, const TDatime &d2) |
Bool_t | operator<= (const TDatime &d1, const TDatime &d2) |
Bool_t | operator> (const TDatime &d1, const TDatime &d2) |
Bool_t | operator>= (const TDatime &d1, const TDatime &d2) |
Definition at line 38 of file TDatime.h.
TDatime::TDatime | ( | ) |
TDatime::TDatime | ( | const char * | sqlDateTime | ) |
TDatime::TDatime | ( | ) |
TDatime::TDatime | ( | const char * | sqlDateTime | ) |
const char * TDatime::AsString | ( | ) | const |
Definition at line 100 of file TDatime.cxx.
References Convert(), Error, and t.
Referenced by annotation(), TSecContext::AsString(), TRootSecContext::AsString(), TProofProgressLog::BuildLogList(), TStreamerInfo::GenerateHeaderFile(), GetDayOfWeek(), GlobusAuthenticate(), TTreePlayer::MakeClass(), TTreePlayer::MakeCode(), TPrincipal::MakeRealCode(), TMultiDimFit::MakeRealCode(), TDocParser::Parse(), Print(), TQueryResult::Print(), TSecContext::Print(), TRootSecContext::Print(), TQMimeTypes::SaveMimes(), TGMimeTypes::SaveMimes(), TDocOutput::WriteHtmlHeader(), ROOT::TTreeProxyGenerator::WriteProxy(), and TMVA::MethodBase::WriteStateToXML().
const char * TDatime::AsString | ( | char * | out | ) | const |
const char * TDatime::AsSQLString | ( | ) | const |
Definition at line 149 of file TDatime.cxx.
References fDatime, min, and snprintf.
Referenced by TSQLFile::DirWriteHeader(), TKeySQL::IsKeyModified(), TZIPMember::Print(), TXMLFile::SaveToFile(), TDataSetManagerFile::ShowCache(), TKeyXML::StoreKeyAttributes(), TSQLFile::UpdateKeyData(), TSQLFile::WriteKeyData(), and TSQLFile::WriteSpecialObject().
Definition at line 171 of file TDatime.cxx.
References Error, fDatime, gmtime_r, min, and t.
Referenced by TProofPlayer::AddQueryResult(), AsString(), TDataSetManagerFile::CheckLocalCache(), TQueryResult::CloneInfo(), GlobusAuthenticate(), TQueryResult::Print(), TAuthenticate::ReadRootAuthrc(), seism(), TAuthenticate::SetEnvironment(), TProofQueryResult::SetRunning(), tgaxis4(), and timeonaxis2().
void TDatime::Copy | ( | TDatime & | datime | ) | const |
UInt_t TDatime::Get | ( | ) | const |
Definition at line 236 of file TDatime.cxx.
References fDatime.
Referenced by TODBCStatement::ConvertToNumeric().
Int_t TDatime::GetDate | ( | ) | const |
Definition at line 247 of file TDatime.cxx.
References fDatime.
Referenced by TODBCStatement::ConvertToNumeric().
Int_t TDatime::GetTime | ( | ) | const |
Definition at line 258 of file TDatime.cxx.
References min.
Referenced by TODBCStatement::ConvertToNumeric(), and ClockHand::GetTime().
Int_t TDatime::GetYear | ( | ) | const [inline] |
Definition at line 66 of file TDatime.h.
References fDatime.
Referenced by HtmlMonthTable::BuildDays(), CalendarWindow::CalendarWindow(), IsNew(), TSQLStatement::SetDate(), TSQLStatement::SetDatime(), TSQLStatement::SetTimestamp(), and TDocOutput::WriteHtmlFooter().
Int_t TDatime::GetMonth | ( | ) | const [inline] |
Definition at line 67 of file TDatime.h.
References fDatime.
Referenced by HtmlMonthTable::BuildDays(), CalendarWindow::CalendarWindow(), IsNew(), TSQLStatement::SetDate(), TSQLStatement::SetDatime(), TSQLStatement::SetTimestamp(), and TDocOutput::WriteHtmlFooter().
Int_t TDatime::GetDay | ( | ) | const [inline] |
Definition at line 68 of file TDatime.h.
References fDatime.
Referenced by HtmlMonthTable::BuildDays(), IsNew(), TSQLStatement::SetDate(), TSQLStatement::SetDatime(), TSQLStatement::SetTimestamp(), and TDocOutput::WriteHtmlFooter().
Int_t TDatime::GetDayOfWeek | ( | ) | const |
Int_t TDatime::GetHour | ( | ) | const [inline] |
Definition at line 70 of file TDatime.h.
References fDatime.
Referenced by TSQLStatement::SetDatime(), TSQLStatement::SetTime(), TSQLStatement::SetTimestamp(), and TDocOutput::WriteHtmlFooter().
Int_t TDatime::GetMinute | ( | ) | const [inline] |
Definition at line 71 of file TDatime.h.
References fDatime.
Referenced by TSQLStatement::SetDatime(), TSQLStatement::SetTime(), TSQLStatement::SetTimestamp(), and TDocOutput::WriteHtmlFooter().
Int_t TDatime::GetSecond | ( | ) | const [inline] |
Definition at line 72 of file TDatime.h.
References fDatime.
Referenced by TSQLStatement::SetDatime(), TSQLStatement::SetTime(), and TSQLStatement::SetTimestamp().
void TDatime::FillBuffer | ( | char *& | buffer | ) |
Definition at line 228 of file TDatime.cxx.
References fDatime, and tobuf().
Referenced by TDirectoryFile::FillBuffer(), and TKey::FillBuffer().
void TDatime::Print | ( | Option_t * | option = "" |
) | const |
void TDatime::ReadBuffer | ( | char *& | buffer | ) |
Definition at line 277 of file TDatime.cxx.
References fDatime, and frombuf().
Referenced by TFile::Init(), TKey::ReadKeyBuffer(), and TDirectoryFile::ReadKeys().
void TDatime::Set | ( | ) |
Definition at line 285 of file TDatime.cxx.
References fDatime, localtime_r, and min.
Referenced by TDirectoryFile::Build(), TQueryResult::CloneInfo(), TKey::Create(), ClockHand::GetTime(), TUUID::GetTime(), GlobusAuthenticate(), RootShower::OnShowerProduce(), TQueryResult::RecordEnd(), Set(), TAuthenticate::SetEnvironment(), TProofQueryResult::SetRunning(), TKeySQL::StoreKeyObject(), TDatime(), TKeyXML::TKeyXML(), and TSecContext::TSecContext().
void TDatime::Set | ( | const char * | sqlDateTime | ) |
Int_t TDatime::Sizeof | ( | ) | const [inline] |
Definition at line 82 of file TDatime.h.
Referenced by TDirectoryFile::Sizeof(), and TKey::Sizeof().
Definition at line 430 of file TDatime.cxx.
References min.
Referenced by G__G__Base1_160_0_32(), G__setup_memfuncTDatime(), TDumpMembers::Inspect(), TInspectCanvas::InspectObject(), TFile::Map(), TTable::Print(), and TFile::Recover().
const char* TDatime::AsString | ( | ) | const |
const char* TDatime::AsString | ( | char * | out | ) | const |
const char* TDatime::AsSQLString | ( | ) | const |
void TDatime::Copy | ( | TDatime & | datime | ) | const |
UInt_t TDatime::Get | ( | ) | const |
Int_t TDatime::GetDate | ( | ) | const |
Int_t TDatime::GetTime | ( | ) | const |
Int_t TDatime::GetYear | ( | ) | const [inline] |
Int_t TDatime::GetMonth | ( | ) | const [inline] |
Int_t TDatime::GetDay | ( | ) | const [inline] |
Int_t TDatime::GetDayOfWeek | ( | ) | const |
Int_t TDatime::GetHour | ( | ) | const [inline] |
Int_t TDatime::GetMinute | ( | ) | const [inline] |
Int_t TDatime::GetSecond | ( | ) | const [inline] |
void TDatime::FillBuffer | ( | char *& | buffer | ) |
void TDatime::Print | ( | Option_t * | option = "" |
) | const |
void TDatime::ReadBuffer | ( | char *& | buffer | ) |
void TDatime::Set | ( | ) |
void TDatime::Set | ( | const char * | sqlDateTime | ) |
UInt_t TDatime::fDatime [protected] |
Definition at line 43 of file TDatime.h.
Referenced by AsSQLString(), Convert(), Copy(), FillBuffer(), Get(), GetDate(), GetDay(), GetHour(), GetMinute(), GetMonth(), GetSecond(), GetYear(), operator!=(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), ReadBuffer(), and Set().