aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/timezone_conversion/convert.h
diff options
context:
space:
mode:
authorpetrk <petrk@yandex-team.ru>2022-02-10 16:47:26 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:26 +0300
commit1fe4b402b38f476dbe36f650c3049c92ae496d38 (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/timezone_conversion/convert.h
parentaf66956edf116b93d5a07894ccb61dd4447d0b34 (diff)
downloadydb-1fe4b402b38f476dbe36f650c3049c92ae496d38.tar.gz
Restoring authorship annotation for <petrk@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/timezone_conversion/convert.h')
-rw-r--r--library/cpp/timezone_conversion/convert.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/timezone_conversion/convert.h b/library/cpp/timezone_conversion/convert.h
index 2e76d683ed..768a9e110f 100644
--- a/library/cpp/timezone_conversion/convert.h
+++ b/library/cpp/timezone_conversion/convert.h
@@ -1,7 +1,7 @@
#pragma once
-#include "civil.h"
-
+#include "civil.h"
+
#include <contrib/libs/cctz/include/cctz/time_zone.h>
#include <util/datetime/base.h>
#include <util/draft/datetime.h>
@@ -31,19 +31,19 @@ namespace NDatetime {
TSimpleTM ToCivilTime(const TInstant& absoluteTime, const TTimeZone& tz);
/**
- * Creates civil time in place with respect of given timezone.
- * @param[in] tz The time zone to use for creation.
- * @param[in] year The year of the creation time.
- * @param[in] mon The month of the creation time.
- * @param[in] day The day of the creation time.
- * @param[in] h The hour of the creation time.
- * @param[in] m The minute of the creation time.
- * @param[in] s The second of the creation time.
- * @return a civil time
- */
- TSimpleTM CreateCivilTime(const TTimeZone& tz, ui32 year, ui32 mon, ui32 day, ui32 h = 0, ui32 m = 0, ui32 s = 0);
-
- /**
+ * Creates civil time in place with respect of given timezone.
+ * @param[in] tz The time zone to use for creation.
+ * @param[in] year The year of the creation time.
+ * @param[in] mon The month of the creation time.
+ * @param[in] day The day of the creation time.
+ * @param[in] h The hour of the creation time.
+ * @param[in] m The minute of the creation time.
+ * @param[in] s The second of the creation time.
+ * @return a civil time
+ */
+ TSimpleTM CreateCivilTime(const TTimeZone& tz, ui32 year, ui32 mon, ui32 day, ui32 h = 0, ui32 m = 0, ui32 s = 0);
+
+ /**
* @param civilTime A human-readable date and time (the following fields
* are used by this function: {Year,Mon,MDay,Hour,Min,Sec}).
* @param tz The time zone to use for conversion.