| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_DATE_H_ | 5 #ifndef V8_DATE_H_ |
| 6 #define V8_DATE_H_ | 6 #define V8_DATE_H_ |
| 7 | 7 |
| 8 #include "allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "globals.h" | 9 #include "src/globals.h" |
| 10 #include "platform.h" | 10 #include "src/platform.h" |
| 11 | 11 |
| 12 | 12 |
| 13 namespace v8 { | 13 namespace v8 { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 class DateCache { | 16 class DateCache { |
| 17 public: | 17 public: |
| 18 static const int kMsPerMin = 60 * 1000; | 18 static const int kMsPerMin = 60 * 1000; |
| 19 static const int kSecPerDay = 24 * 60 * 60; | 19 static const int kSecPerDay = 24 * 60 * 60; |
| 20 static const int64_t kMsPerDay = kSecPerDay * 1000; | 20 static const int64_t kMsPerDay = kSecPerDay * 1000; |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 int ymd_year_; | 233 int ymd_year_; |
| 234 int ymd_month_; | 234 int ymd_month_; |
| 235 int ymd_day_; | 235 int ymd_day_; |
| 236 | 236 |
| 237 TimezoneCache* tz_cache_; | 237 TimezoneCache* tz_cache_; |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } } // namespace v8::internal | 240 } } // namespace v8::internal |
| 241 | 241 |
| 242 #endif | 242 #endif |
| OLD | NEW |