ISystemClock::adjustUtc() accepts only relative offset now

This commit is contained in:
Pavel Kirienko
2014-03-20 23:27:09 +04:00
parent 9c02ce2e05
commit 6eb660f11a
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -37,11 +37,10 @@ public:
/**
* Set the UTC system clock.
* @param [in] timestamp New UTC timestamp. Avoid when possible.
* @param [in] offset Current UTC time error. More precise than just timestamp, use it if possible.
* @param [in] adjustment Amount of time to add to the clock value.
* For POSIX refer to adjtime(), settimeofday().
*/
virtual void adjustUtc(UtcTime new_time, UtcDuration offset) = 0;
virtual void adjustUtc(UtcDuration adjustment) = 0;
};
}