Tomasz Sowa
c2e63f9290
added: to Date: support for parsing timezone offsets
...
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@1168 e52654a7-88a9-db11-a3e9-0013d4bc506e
2019-01-31 20:56:40 +00:00
Tomasz Sowa
e775728f6b
added: Date::ToTm() now sets tm_wday too
...
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@415 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-05-27 23:50:10 +00:00
Tomasz Sowa
03bac5721d
added:
...
Date(const char * str);
Date(const wchar_t * str);
Date(const std::string & str);
Date(const std::wstring & str);
Date & operator=(const char * str);
Date & operator=(const wchar_t * str);
Date & operator=(const std::string & str);
Date & operator=(const std::wstring & str);
void Swap(Date&);
removed:
templates cctors and operators=
it is better to have directly char*, wchar_t and string, wstring
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@414 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-05-26 22:38:18 +00:00
Tomasz Sowa
0ffb2b155f
added: some methods for parsing from a string
...
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@412 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-05-22 23:47:41 +00:00
Tomasz Sowa
3280568594
added: Date structure -- represents year, month, day, hour, min, sec
...
with O(1) algorithm for converting from time_t (seconds from Unix epoch)
git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@405 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-05-05 15:08:04 +00:00