[Groonga-commit] groonga/grnxx [master] Add TODOs.

アーカイブの一覧に戻る

susumu.yata null+****@clear*****
Thu Feb 28 10:10:37 JST 2013


susumu.yata	2013-02-28 10:10:37 +0900 (Thu, 28 Feb 2013)

  New Revision: 91e7a626e96a11906f5db3f1a82f2ec41b6a7e0c
  https://github.com/groonga/grnxx/commit/91e7a626e96a11906f5db3f1a82f2ec41b6a7e0c

  Log:
    Add TODOs.

  Modified files:
    lib/time.hpp

  Modified: lib/time.hpp (+9 -0)
===================================================================
--- lib/time.hpp    2013-02-27 18:23:36 +0900 (c6fee88)
+++ lib/time.hpp    2013-02-28 10:10:37 +0900 (3e6d767)
@@ -23,6 +23,9 @@
 
 namespace grnxx {
 
+// TODO
+class DateTime;
+
 // Time in microseconds since the Unix epoch (1970-01-01 00:00:00 UTC).
 // 64-bit tick count (usec) is used.
 class Time {
@@ -41,6 +44,12 @@ class Time {
     return Time(std::numeric_limits<int64_t>::max());
   }
 
+  // TODO
+  // Transform tick count to broken-down time (UTC).
+  DateTime universal_time() const;
+  // Transform tick count to broken-down time (local).
+  DateTime local_time() const;
+
   // Return the tick count.
   constexpr int64_t count() {
     return count_;
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る