SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <tm.h>
Static Public Member Functions | |
static int | GetMonthN (const TStr &MonthNm, const TLoc &Loc=lUs) |
static bool | IsMonthNm (const TStr &MonthNm, const TLoc &Loc=lUs) |
static TStr | GetMonthNm (const int &MonthN, const TLoc &Loc=lUs) |
static int | GetDayOfWeekN (const TStr &DayOfWeekNm, const TLoc &Loc=lUs) |
static bool | IsDayOfWeekNm (const TStr &DayOfWeekNm, const TLoc &Loc=lUs) |
static TStr | GetDayOfWeekNm (const int &DayOfWeekN, const TLoc &Loc=lUs) |
static TStr | GetHmFromMins (const int &Mins) |
static int | GetTmUnitSecs (const TTmUnit &TmUnit) |
static TStr | GetTmUnitStr (const TTmUnit &TmUnit) |
static TStr | GetTmZoneDiffStr (const TStr &TmZoneStr) |
static uint64 | GetMinMSecs () |
static uint64 | GetHourMSecs () |
static uint64 | GetDayMSecs () |
static uint64 | GetWeekMSecs () |
Static Public Attributes | |
static const int | SunN =1 |
static const int | MonN =2 |
static const int | TueN =3 |
static const int | WedN =4 |
static const int | ThuN =5 |
static const int | FriN =6 |
static const int | SatN =7 |
static const int | JanN =1 |
static const int | FebN =2 |
static const int | MarN =3 |
static const int | AprN =4 |
static const int | MayN =5 |
static const int | JunN =6 |
static const int | JulN =7 |
static const int | AugN =8 |
static const int | SepN =9 |
static const int | OctN =10 |
static const int | NovN =11 |
static const int | DecN =12 |
Static Private Member Functions | |
static void | InitMonthNmV () |
static void | InitDayOfWeekNmV () |
static void | EnsureInit () |
Static Private Attributes | |
static bool | InitP =false |
static TStrV | UsMonthNmV |
static TStrV | SiMonthNmV |
static TStrV | UsDayOfWeekNmV |
static TStrV | SiDayOfWeekNmV |
|
inlinestaticprivate |
Definition at line 30 of file tm.h.
References InitDayOfWeekNmV(), and InitMonthNmV().
Referenced by GetDayOfWeekN(), GetDayOfWeekNm(), GetMonthN(), and GetMonthNm().
|
inlinestatic |
Definition at line 60 of file tm.cpp.
References EnsureInit(), Fail, TStr::GetLc(), lSi, lUs, TVec< TVal, TSizeTy >::SearchForw(), SiDayOfWeekNmV, and UsDayOfWeekNmV.
Referenced by IsDayOfWeekNm().
Definition at line 71 of file tm.cpp.
References EnsureInit(), Fail, IAssert, lSi, lUs, SiDayOfWeekNmV, and UsDayOfWeekNmV.
Referenced by TSecTm::GetDayOfWeekNm(), TTm::GetDayOfWeekNm(), TSecTm::GetDtStr(), and TSecTm::GetStr().
|
static |
Definition at line 81 of file tm.cpp.
References TInt::GetStr().
|
inlinestatic |
|
inlinestatic |
Definition at line 39 of file tm.cpp.
References EnsureInit(), Fail, TStr::GetLc(), lSi, lUs, TVec< TVal, TSizeTy >::SearchForw(), SiMonthNmV, and UsMonthNmV.
Referenced by TSecTm::GetDtTmFromDmyStr(), IsMonthNm(), and TTimeNet::LoadAmazon().
Definition at line 50 of file tm.cpp.
References EnsureInit(), Fail, IAssert, lSi, lUs, SiMonthNmV, and UsMonthNmV.
Referenced by TSecTm::GetDtStr(), TSecTm::GetMonthNm(), TTm::GetMonthNm(), and TSecTm::GetStr().
|
static |
Definition at line 108 of file tm.cpp.
References Fail, TStr::GetNullStr(), tmu10Min, tmu12Hour, tmu15Min, tmu1Hour, tmu1Min, tmu1Sec, tmu2Hour, tmu30Min, tmu4Hour, tmu6Hour, tmuDay, tmuEdges, tmuMonth, tmuNodes, tmuWeek, and tmuYear.
Referenced by TTimeNet::PlotCCfOverTm(), TTimeNet::PlotEffDiam(), TTimeNENet::PlotEffDiam(), TTimeNet::PlotMedianDegOverTm(), TTimeNet::PlotMissingPast(), TTimeNENet::PlotMissingPast(), and TGStatVec::SaveTxt().
|
inlinestatic |
|
staticprivate |
Definition at line 24 of file tm.cpp.
References TVec< TVal, TSizeTy >::Add(), IAssert, TVec< TVal, TSizeTy >::Len(), SiDayOfWeekNmV, and UsDayOfWeekNmV.
Referenced by EnsureInit().
|
staticprivate |
Definition at line 9 of file tm.cpp.
References TVec< TVal, TSizeTy >::Add(), IAssert, TVec< TVal, TSizeTy >::Len(), SiMonthNmV, and UsMonthNmV.
Referenced by EnsureInit().
|
inlinestatic |
Definition at line 38 of file tm.h.
References GetDayOfWeekN().
Definition at line 34 of file tm.h.
References GetMonthN().
|
static |
Definition at line 47 of file tm.h.
Referenced by TSecTm::GetZeroWeekTm().
|
staticprivate |
Definition at line 27 of file tm.h.
Referenced by GetDayOfWeekN(), GetDayOfWeekNm(), and InitDayOfWeekNmV().
|
staticprivate |
Definition at line 25 of file tm.h.
Referenced by GetMonthN(), GetMonthNm(), and InitMonthNmV().
|
staticprivate |
Definition at line 26 of file tm.h.
Referenced by GetDayOfWeekN(), GetDayOfWeekNm(), and InitDayOfWeekNmV().
|
staticprivate |
Definition at line 24 of file tm.h.
Referenced by GetMonthN(), GetMonthNm(), and InitMonthNmV().