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

Issue 10383218: Add support for timezone offset and timezone name. (Closed)

Created:
8 years, 7 months ago by floitsch
Modified:
8 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, ngeoffray
Visibility:
Public.

Description

Add support for timezone offset and timezone name. Committed: https://code.google.com/p/dart/source/detail?r=7801

Patch Set 1 #

Patch Set 2 : Fix bad comment indentation. #

Patch Set 3 : Reintroduce casts that were somehow lost. #

Patch Set 4 : Minor fixes in windows files. #

Total comments: 1

Patch Set 5 : Add test. #

Total comments: 8

Patch Set 6 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -0 lines) Patch
M corelib/src/date.dart View 1 1 chunk +17 lines, -0 lines 0 comments Download
M frog/lib/date_implementation.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/js_helper.dart View 1 chunk +13 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/mockimpl.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M runtime/lib/date.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M runtime/lib/date.dart View 2 chunks +18 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/os.h View 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/os_linux.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M runtime/vm/os_macos.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M runtime/vm/os_win.cc View 1 2 3 4 5 2 chunks +49 lines, -0 lines 0 comments Download
A tests/corelib/date_time7_test.dart View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
floitsch
Still missing test cases, but here in the DK office Thursday and Friday are vacation ...
8 years, 7 months ago (2012-05-16 20:47:13 UTC) #1
Sean Eagan
https://chromiumcodereview.appspot.com/10383218/diff/1012/corelib/src/date.dart File corelib/src/date.dart (right): https://chromiumcodereview.appspot.com/10383218/diff/1012/corelib/src/date.dart#newcode130 corelib/src/date.dart:130: Duration get timeZoneOffset(); Did you consider adding an 'isDayLightSavingsTime' ...
8 years, 7 months ago (2012-05-17 13:24:39 UTC) #2
Sean Eagan
On 2012/05/17 13:24:39, seaneagan1 wrote: > bool get isDayLightSavingsTime() { > final offset = timeZoneOffset.inMilliseconds; ...
8 years, 7 months ago (2012-05-17 13:47:19 UTC) #3
floitsch
On 2012/05/17 13:47:19, seaneagan1 wrote: > On 2012/05/17 13:24:39, seaneagan1 wrote: > > bool get ...
8 years, 7 months ago (2012-05-21 12:18:51 UTC) #4
floitsch
8 years, 7 months ago (2012-05-21 12:19:28 UTC) #5
Mads Ager (google)
https://chromiumcodereview.appspot.com/10383218/diff/4002/runtime/vm/os_win.cc File runtime/vm/os_win.cc (right): https://chromiumcodereview.appspot.com/10383218/diff/4002/runtime/vm/os_win.cc#newcode67 runtime/vm/os_win.cc:67: int GetDaylightSavingOffsetInSeconds() { static int GetDaylightSavingsOffsetInSeconds() { https://chromiumcodereview.appspot.com/10383218/diff/4002/runtime/vm/os_win.cc#newcode68 runtime/vm/os_win.cc:68: ...
8 years, 7 months ago (2012-05-21 12:53:28 UTC) #6
floitsch
PTAL. https://chromiumcodereview.appspot.com/10383218/diff/4002/runtime/vm/os_win.cc File runtime/vm/os_win.cc (right): https://chromiumcodereview.appspot.com/10383218/diff/4002/runtime/vm/os_win.cc#newcode67 runtime/vm/os_win.cc:67: int GetDaylightSavingOffsetInSeconds() { On 2012/05/21 12:53:28, Mads Ager ...
8 years, 7 months ago (2012-05-21 13:26:44 UTC) #7
floitsch
PTAL. https://chromiumcodereview.appspot.com/10383218/diff/4002/runtime/vm/os_win.cc File runtime/vm/os_win.cc (right): https://chromiumcodereview.appspot.com/10383218/diff/4002/runtime/vm/os_win.cc#newcode67 runtime/vm/os_win.cc:67: int GetDaylightSavingOffsetInSeconds() { On 2012/05/21 12:53:28, Mads Ager ...
8 years, 7 months ago (2012-05-21 13:26:44 UTC) #8
Mads Ager (google)
8 years, 7 months ago (2012-05-21 13:45:35 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698