diff options
author | Daniel Wilhelm <daniel@wili.li> | 2016-03-16 21:32:47 +0100 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2016-03-16 21:32:47 +0100 |
commit | f7baa4de2ea9e5ce945078b76a3f20244a5d7946 (patch) | |
tree | 744a305661052e368a51b0063e16155dc9f7fe6e /zen/format_unit.h | |
parent | 7.7 (diff) | |
download | FreeFileSync-f7baa4de2ea9e5ce945078b76a3f20244a5d7946.tar.gz FreeFileSync-f7baa4de2ea9e5ce945078b76a3f20244a5d7946.tar.bz2 FreeFileSync-f7baa4de2ea9e5ce945078b76a3f20244a5d7946.zip |
7.8
Diffstat (limited to 'zen/format_unit.h')
-rw-r--r-- | zen/format_unit.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/zen/format_unit.h b/zen/format_unit.h index eacb8d46..fcc42dfa 100644 --- a/zen/format_unit.h +++ b/zen/format_unit.h @@ -9,6 +9,7 @@ #include <string> #include <cstdint> +#include "optional.h" #include "string_tools.h" @@ -26,8 +27,11 @@ template <class NumberType> std::wstring toGuiString(NumberType number); //format integer number including thousands separator - - +#ifdef ZEN_WIN_VISTA_AND_LATER + //reverse calculation of utcToLocalTimeString() + Opt<std::int64_t> mtpVariantTimetoUtc(double localTime); //returns empty on error + Opt<double> utcToMtpVariantTime(int64_t utcTime); // +#endif |