| Index: base/time/time.h
|
| diff --git a/base/time/time.h b/base/time/time.h
|
| index b18c0b26d68c1bf8054b059278762fdc3491c62a..6a45b8159588c9487c0b5fc9799d2245872f6d08 100644
|
| --- a/base/time/time.h
|
| +++ b/base/time/time.h
|
| @@ -233,13 +233,16 @@ BASE_EXPORT std::ostream& operator<<(std::ostream& os, TimeDelta time_delta);
|
| // Represents a wall clock time in UTC.
|
| class BASE_EXPORT Time {
|
| public:
|
| + static const int64 kHoursPerDay = 24;
|
| static const int64 kMillisecondsPerSecond = 1000;
|
| + static const int64 kMillisecondsPerDay = kMillisecondsPerSecond * 60 * 60 *
|
| + kHoursPerDay;
|
| static const int64 kMicrosecondsPerMillisecond = 1000;
|
| static const int64 kMicrosecondsPerSecond = kMicrosecondsPerMillisecond *
|
| kMillisecondsPerSecond;
|
| static const int64 kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60;
|
| static const int64 kMicrosecondsPerHour = kMicrosecondsPerMinute * 60;
|
| - static const int64 kMicrosecondsPerDay = kMicrosecondsPerHour * 24;
|
| + static const int64 kMicrosecondsPerDay = kMicrosecondsPerHour * kHoursPerDay;
|
| static const int64 kMicrosecondsPerWeek = kMicrosecondsPerDay * 7;
|
| static const int64 kNanosecondsPerMicrosecond = 1000;
|
| static const int64 kNanosecondsPerSecond = kNanosecondsPerMicrosecond *
|
|
|