// Copyright 2018 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// Flags: --no-icu-timezone-data// Environment Variables: TZ=America/New_York// 2017-03-12T02:00 : UTC-5 => UTC-4assertEquals(newDate(Date.UTC(2017,2,12,6,59)),newDate(2017,2,12,1,59))assertEquals(newDate(Date.UTC(2017,2,12,7)),newDate(2017,2,12,2));assertEquals(newDate(Date.UTC(2017,2,12,7,30)),newDate(2017,2,12,2,30));assertEquals(newDate(Date.UTC(2017,2,12,7)),newDate(2017,2,12,3));assertEquals(newDate(Date.UTC(2017,2,12,7,30)),newDate(2017,2,12,3,30));assertEquals((newDate(2017,2,12,3,30)).getTimezoneOffset(),(newDate(2017,2,12,2,30)).getTimezoneOffset());// 2017-11-05T02:00 : UTC-4 => UTC-5assertEquals(newDate(Date.UTC(2017,10,5,4,59)),newDate(2017,10,5,0,59));assertEquals(newDate(Date.UTC(2017,10,5,5)),newDate(2017,10,5,1));assertEquals(newDate(Date.UTC(2017,10,5,5,30)),newDate(2017,10,5,1,30));assertEquals(newDate(Date.UTC(2017,10,5,5,59)),newDate(2017,10,5,1,59));assertEquals(newDate(Date.UTC(2017,10,5,7)),newDate(2017,10,5,2))assertEquals(newDate(Date.UTC(2017,10,5,8)),newDate(2017,10,5,3))