summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/timeconv.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a few missing #includes flagged by VS2019 beta, nw mooglyguy2018-12-301-0/+1
|
* imgtool: fix off by one error with leap years (nw) balr0g2018-08-131-1/+1
|
* srcclean (nw) Vas Crabb2017-10-221-15/+15
|
* Appease MSVC (nw) AJR2017-10-191-0/+1
|
* Created a more flexible imgtool::datetime structure for use within Imgtool ↵ npwoods2017-10-171-7/+75
| | | | | | | | | | | | | | (#2263) * Created a more flexible imgtool::datetime structure for use within Imgtool This is intended to replace most usage of time_t * Changing the granularity of imgtool_clock from 1ms to 100ns, as per Vas' suggestion * Created arbitrary_datetime in timeconv.h to facilitate interpretation of datetime info I concluded that invoking std::mktime on manually assembled std::tm is bad, because it is indeterminate how the std::tm members may be "dominant". This required that I go further in imgtool, and update a number of drivers and eliminate the parameter of imgtool::datetime that takes std::tm.
* srcclean (nw) Vas Crabb2017-04-231-20/+20
|
* Introduced an 'util::arbitrary_clock' template class, to represent a clock ↵ npwoods2017-04-061-0/+214
| | | | | | | | | | | that "knows" when the epoch starts (#2010) * Introduced an 'util::arbitrary_clock' template class, to represent a clock that "knows" when the epoch starts Also: - Converted the NTFS filetime code to use util::arbitrary_clock - Converted the Mac datetime code to use util::atribrary_clock This is in preparation for a bigger change to Imgtool where I eliminate usage of time_t
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-6/+5
|
* Fixed incorrect implementation of win_time_point_from_filetime() Vas Crabb2016-06-261-4/+3
|
* Introduced src/lib/util/timeconv.[c|h], moved code from un7z.cpp into it, ↵ Nathan Woods2016-06-261-0/+54
and implemented win_time_point_from_filetime() in terms of it