Go to the documentation of this file.00001
00008
00009
00010
00011
00012 #include <ecl/config.hpp>
00013 #if defined(ECL_IS_WIN32)
00014
00015
00016
00017
00018
00019 #include <ecl/config/windows.hpp>
00020 #include <ecl/exceptions/standard_exception.hpp>
00021 #include "../../include/ecl/time/timestamp_win.hpp"
00022
00023
00024
00025
00026
00027
00028 namespace ecl {
00029
00030
00031
00032
00033
00034 TimeStamp::TimeStamp() ecl_debug_throw_decl(StandardException) {
00035 stamp();
00036 }
00037
00038 TimeStamp::TimeStamp (const double& decimal_time_value) ecl_assert_throw_decl(StandardException) :
00039 TimeStampBase(decimal_time_value)
00040 {
00041 }
00042
00043 TimeStamp::TimeStamp (const time_t& seconds, const long& nanoseconds) ecl_assert_throw_decl(StandardException) :
00044 TimeStampBase(seconds, nanoseconds)
00045 {
00046 }
00047
00048 TimeStamp::TimeStamp(const TimeStampBase& base) : TimeStampBase(base) {}
00049
00050
00051
00052
00053
00054 const TimeStamp& TimeStamp::stamp() ecl_debug_throw_decl(StandardException) {
00055 return (*this);
00056 }
00057
00058 };
00059
00060 #endif