Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rupnikj committed Aug 2, 2018
1 parent 5c73f17 commit 3509d7d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
12 changes: 0 additions & 12 deletions src/glib/base/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,6 @@ uint64 TSysTm::GetCurUniMSecs(){
return UInt64.Val/uint64(10000);
}

// uint64 TSysTm::GetCurLocMSecs(){
// SYSTEMTIME SysTm; FILETIME FileTm;
// GetLocalTime(&SysTm);
// IAssert(SystemTimeToFileTime(&SysTm, &FileTm));
// TUInt64 UInt64(uint(FileTm.dwHighDateTime), uint(FileTm.dwLowDateTime));
// return UInt64.Val/uint64(10000);
// }

uint64 TSysTm::GetMSecsFromTm(const TTm& Tm){
SYSTEMTIME SysTm; FILETIME FileTm;
SysTm.wYear=WORD(Tm.GetYear());
Expand Down Expand Up @@ -634,10 +626,6 @@ uint64 TSysTm::GetCurUniMSecs(){
return TSysTm::GetMSecsFromTm(GetCurLocTm());
}

// uint64 TSysTm::GetCurLocMSecs(){
// return TSysTm::GetMSecsFromTm(GetCurUniTm());
// }

uint64 TSysTm::GetMSecsFromTm(const TTm& Tm){
time_t t;
struct tm tms;
Expand Down
2 changes: 0 additions & 2 deletions src/glib/base/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class TSysTm{
static TTm GetCurUniTm();
static TTm GetCurLocTm();
static uint64 GetCurUniMSecs();
// static uint64 GetCurLocMSecs(); // deprecated
static uint64 GetMSecsFromTm(const TTm& Tm);
static TTm GetTmFromMSecs(const uint64& MSecs);
static uint GetMSecsFromOsStart();
Expand Down Expand Up @@ -228,7 +227,6 @@ class TSysTm{
static TTm GetCurUniTm();
static TTm GetCurLocTm();
static uint64 GetCurUniMSecs();
//static uint64 GetCurLocMSecs(); // deprecated
static uint64 GetMSecsFromTm(const TTm& Tm);
static TTm GetTmFromMSecs(const uint64& MSecs);
static uint GetMSecsFromOsStart();
Expand Down
4 changes: 0 additions & 4 deletions src/glib/base/tm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1097,10 +1097,6 @@ int64 TTm::GetCurUniUnixMSecs(){
return TTm::GetUnixMSecsFromWinMSecs(TTm::GetCurUniMSecs());
}

// uint64 TTm::GetCurLocMSecs(){
// return TSysTm::GetCurLocMSecs();
// }

uint64 TTm::GetMSecsFromTm(const TTm& Tm){
return TSysTm::GetMSecsFromTm(Tm);
}
Expand Down
1 change: 0 additions & 1 deletion src/glib/base/tm.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ class TTm{
static TTm GetCurLocTm();
static uint64 GetCurUniMSecs();
static int64 GetCurUniUnixMSecs(); //< Number of milliseconds since 1970-01-01T00:00:00 (UTC)
//static uint64 GetCurLocMSecs(); // Deprecated
static uint64 GetMSecsFromTm(const TTm& Tm);
static TTm GetTmFromMSecs(const uint64& MSecs);
static uint GetMSecsFromOsStart();
Expand Down

0 comments on commit 3509d7d

Please sign in to comment.