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

Unified Diff: samples/total/client/SpreadsheetPresenter.dart

Issue 10538105: Make isUtc a getter, change some method names in Date. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 | « samples/total/client/Formats.dart ('k') | samples/ui_lib/base/AnimationScheduler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/client/SpreadsheetPresenter.dart
diff --git a/samples/total/client/SpreadsheetPresenter.dart b/samples/total/client/SpreadsheetPresenter.dart
index 30be23f10b661e18c130f0ce52551634dca77dd2..5407777522d5da041238c58c84207c5eebb0057a 100644
--- a/samples/total/client/SpreadsheetPresenter.dart
+++ b/samples/total/client/SpreadsheetPresenter.dart
@@ -826,7 +826,7 @@ class SpreadsheetPresenter implements SpreadsheetListener, SelectionListener {
// Return the number of milliseconds since the epoch
int _currentTimeMllis() {
- return new Date.now().value;
+ return new Date.now().millisecondsSinceEpoch;
}
void _formulaCellSelectingInsertReference(RowCol clickLocation, RowCol dragLocation) {
« no previous file with comments | « samples/total/client/Formats.dart ('k') | samples/ui_lib/base/AnimationScheduler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698