Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: corelib/src/date.dart

Issue 10533068: Refactor Date implementation in VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/js_helper.dart » ('j') | runtime/vm/os_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/date.dart
diff --git a/corelib/src/date.dart b/corelib/src/date.dart
index 0b35247cd98e7d9b4d6983b58598a61f8ec15819..16632981e16ba727fa495b469f184c73b3691ef7 100644
--- a/corelib/src/date.dart
+++ b/corelib/src/date.dart
@@ -6,6 +6,10 @@
/**
* Date is the public interface to a point in time.
+ *
+ * It can represent time values that are at a distance of at most
+ * 8,640,000,000,000,000ms (100,000,000 days) from epoch (1970-01-01 UTC). In
+ * other words: [:value.abs() <= 8640000000000000:].
*/
interface Date extends Comparable, Hashable default DateImplementation {
// Weekday constants that are returned by [weekday] method:
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/js_helper.dart » ('j') | runtime/vm/os_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698