moment-timezone
Version:
Timezone plugin for Moment.js.
541 lines (431 loc) • 137 kB
JavaScript
var moment = require("../../index");
exports["Atlantic/Azores"] = {
"1911" : function (t) {
t.equal(moment("1911-05-24T01:54:31+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1911-05-24T01:54:31+00:00 should be 23:59:59 HMT");
t.equal(moment("1911-05-24T01:54:32+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:54:32", "1911-05-24T01:54:32+00:00 should be 23:54:32 AZOT");
t.equal(moment("1911-05-24T01:54:31+00:00").tz("Atlantic/Azores").zone(), 6872 / 60, "1911-05-24T01:54:31+00:00 should be 6872 / 60 minutes offset in HMT");
t.equal(moment("1911-05-24T01:54:32+00:00").tz("Atlantic/Azores").zone(), 120, "1911-05-24T01:54:32+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1916" : function (t) {
t.equal(moment("1916-06-18T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1916-06-18T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1916-06-18T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1916-06-18T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1916-11-01T01:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:59:59", "1916-11-01T01:59:59+00:00 should be 00:59:59 AZOST");
t.equal(moment("1916-11-01T02:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1916-11-01T02:00:00+00:00 should be 00:00:00 AZOT");
t.equal(moment("1916-06-18T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1916-06-18T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1916-06-18T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1916-06-18T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1916-11-01T01:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1916-11-01T01:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1916-11-01T02:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1916-11-01T02:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1917" : function (t) {
t.equal(moment("1917-03-01T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1917-03-01T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1917-03-01T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1917-03-01T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1917-10-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1917-10-15T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1917-10-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1917-10-15T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1917-03-01T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1917-03-01T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1917-03-01T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1917-03-01T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1917-10-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1917-10-15T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1917-10-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1917-10-15T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1918" : function (t) {
t.equal(moment("1918-03-02T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1918-03-02T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1918-03-02T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1918-03-02T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1918-10-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1918-10-15T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1918-10-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1918-10-15T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1918-03-02T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1918-03-02T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1918-03-02T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1918-03-02T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1918-10-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1918-10-15T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1918-10-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1918-10-15T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1919" : function (t) {
t.equal(moment("1919-03-01T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1919-03-01T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1919-03-01T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1919-03-01T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1919-10-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1919-10-15T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1919-10-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1919-10-15T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1919-03-01T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1919-03-01T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1919-03-01T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1919-03-01T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1919-10-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1919-10-15T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1919-10-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1919-10-15T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1920" : function (t) {
t.equal(moment("1920-03-01T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1920-03-01T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1920-03-01T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1920-03-01T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1920-10-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1920-10-15T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1920-10-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1920-10-15T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1920-03-01T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1920-03-01T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1920-03-01T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1920-03-01T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1920-10-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1920-10-15T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1920-10-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1920-10-15T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1921" : function (t) {
t.equal(moment("1921-03-01T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1921-03-01T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1921-03-01T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1921-03-01T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1921-10-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1921-10-15T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1921-10-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1921-10-15T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1921-03-01T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1921-03-01T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1921-03-01T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1921-03-01T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1921-10-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1921-10-15T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1921-10-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1921-10-15T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1924" : function (t) {
t.equal(moment("1924-04-17T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1924-04-17T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1924-04-17T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1924-04-17T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1924-10-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1924-10-15T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1924-10-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1924-10-15T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1924-04-17T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1924-04-17T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1924-04-17T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1924-04-17T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1924-10-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1924-10-15T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1924-10-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1924-10-15T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1926" : function (t) {
t.equal(moment("1926-04-18T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1926-04-18T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1926-04-18T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1926-04-18T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1926-10-03T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1926-10-03T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1926-10-03T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1926-10-03T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1926-04-18T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1926-04-18T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1926-04-18T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1926-04-18T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1926-10-03T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1926-10-03T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1926-10-03T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1926-10-03T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1927" : function (t) {
t.equal(moment("1927-04-10T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1927-04-10T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1927-04-10T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1927-04-10T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1927-10-02T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1927-10-02T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1927-10-02T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1927-10-02T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1927-04-10T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1927-04-10T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1927-04-10T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1927-04-10T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1927-10-02T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1927-10-02T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1927-10-02T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1927-10-02T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1928" : function (t) {
t.equal(moment("1928-04-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1928-04-15T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1928-04-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1928-04-15T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1928-10-07T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1928-10-07T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1928-10-07T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1928-10-07T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1928-04-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1928-04-15T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1928-04-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1928-04-15T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1928-10-07T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1928-10-07T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1928-10-07T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1928-10-07T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1929" : function (t) {
t.equal(moment("1929-04-21T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1929-04-21T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1929-04-21T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1929-04-21T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1929-10-06T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1929-10-06T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1929-10-06T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1929-10-06T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1929-04-21T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1929-04-21T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1929-04-21T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1929-04-21T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1929-10-06T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1929-10-06T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1929-10-06T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1929-10-06T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1931" : function (t) {
t.equal(moment("1931-04-19T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1931-04-19T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1931-04-19T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1931-04-19T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1931-10-04T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1931-10-04T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1931-10-04T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1931-10-04T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1931-04-19T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1931-04-19T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1931-04-19T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1931-04-19T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1931-10-04T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1931-10-04T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1931-10-04T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1931-10-04T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1932" : function (t) {
t.equal(moment("1932-04-03T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1932-04-03T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1932-04-03T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1932-04-03T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1932-10-02T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1932-10-02T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1932-10-02T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1932-10-02T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1932-04-03T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1932-04-03T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1932-04-03T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1932-04-03T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1932-10-02T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1932-10-02T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1932-10-02T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1932-10-02T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1934" : function (t) {
t.equal(moment("1934-04-08T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1934-04-08T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1934-04-08T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1934-04-08T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1934-10-07T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1934-10-07T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1934-10-07T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1934-10-07T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1934-04-08T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1934-04-08T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1934-04-08T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1934-04-08T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1934-10-07T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1934-10-07T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1934-10-07T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1934-10-07T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1935" : function (t) {
t.equal(moment("1935-03-31T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1935-03-31T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1935-03-31T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1935-03-31T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1935-10-06T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1935-10-06T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1935-10-06T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1935-10-06T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1935-03-31T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1935-03-31T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1935-03-31T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1935-03-31T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1935-10-06T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1935-10-06T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1935-10-06T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1935-10-06T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1936" : function (t) {
t.equal(moment("1936-04-19T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1936-04-19T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1936-04-19T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1936-04-19T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1936-10-04T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1936-10-04T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1936-10-04T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1936-10-04T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1936-04-19T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1936-04-19T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1936-04-19T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1936-04-19T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1936-10-04T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1936-10-04T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1936-10-04T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1936-10-04T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1937" : function (t) {
t.equal(moment("1937-04-04T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1937-04-04T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1937-04-04T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1937-04-04T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1937-10-03T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1937-10-03T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1937-10-03T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1937-10-03T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1937-04-04T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1937-04-04T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1937-04-04T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1937-04-04T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1937-10-03T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1937-10-03T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1937-10-03T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1937-10-03T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1938" : function (t) {
t.equal(moment("1938-03-27T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1938-03-27T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1938-03-27T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1938-03-27T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1938-10-02T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1938-10-02T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1938-10-02T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1938-10-02T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1938-03-27T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1938-03-27T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1938-03-27T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1938-03-27T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1938-10-02T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1938-10-02T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1938-10-02T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1938-10-02T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1939" : function (t) {
t.equal(moment("1939-04-16T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1939-04-16T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1939-04-16T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1939-04-16T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1939-11-19T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1939-11-19T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1939-11-19T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1939-11-19T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1939-04-16T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1939-04-16T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1939-04-16T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1939-04-16T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1939-11-19T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1939-11-19T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1939-11-19T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1939-11-19T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1940" : function (t) {
t.equal(moment("1940-02-25T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1940-02-25T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1940-02-25T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1940-02-25T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1940-10-06T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1940-10-06T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1940-10-06T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1940-10-06T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1940-02-25T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1940-02-25T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1940-02-25T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1940-02-25T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1940-10-06T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1940-10-06T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1940-10-06T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1940-10-06T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1941" : function (t) {
t.equal(moment("1941-04-06T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1941-04-06T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1941-04-06T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1941-04-06T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1941-10-06T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1941-10-06T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1941-10-06T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1941-10-06T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1941-04-06T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1941-04-06T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1941-04-06T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1941-04-06T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1941-10-06T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1941-10-06T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1941-10-06T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1941-10-06T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1942" : function (t) {
t.equal(moment("1942-03-15T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1942-03-15T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1942-03-15T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1942-03-15T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1942-04-25T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1942-04-25T23:59:59+00:00 should be 22:59:59 AZOST");
t.equal(moment("1942-04-26T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1942-04-26T00:00:00+00:00 should be 00:00:00 AZOMT");
t.equal(moment("1942-08-15T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1942-08-15T23:59:59+00:00 should be 23:59:59 AZOMT");
t.equal(moment("1942-08-16T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1942-08-16T00:00:00+00:00 should be 23:00:00 AZOST");
t.equal(moment("1942-10-25T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1942-10-25T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1942-10-25T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1942-10-25T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1942-03-15T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1942-03-15T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1942-03-15T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1942-03-15T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1942-04-25T23:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1942-04-25T23:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1942-04-26T00:00:00+00:00").tz("Atlantic/Azores").zone(), 0, "1942-04-26T00:00:00+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1942-08-15T23:59:59+00:00").tz("Atlantic/Azores").zone(), 0, "1942-08-15T23:59:59+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1942-08-16T00:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1942-08-16T00:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1942-10-25T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1942-10-25T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1942-10-25T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1942-10-25T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1943" : function (t) {
t.equal(moment("1943-03-14T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1943-03-14T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1943-03-14T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1943-03-14T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1943-04-17T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1943-04-17T23:59:59+00:00 should be 22:59:59 AZOST");
t.equal(moment("1943-04-18T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1943-04-18T00:00:00+00:00 should be 00:00:00 AZOMT");
t.equal(moment("1943-08-28T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1943-08-28T23:59:59+00:00 should be 23:59:59 AZOMT");
t.equal(moment("1943-08-29T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1943-08-29T00:00:00+00:00 should be 23:00:00 AZOST");
t.equal(moment("1943-10-31T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1943-10-31T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1943-10-31T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1943-10-31T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1943-03-14T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1943-03-14T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1943-03-14T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1943-03-14T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1943-04-17T23:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1943-04-17T23:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1943-04-18T00:00:00+00:00").tz("Atlantic/Azores").zone(), 0, "1943-04-18T00:00:00+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1943-08-28T23:59:59+00:00").tz("Atlantic/Azores").zone(), 0, "1943-08-28T23:59:59+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1943-08-29T00:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1943-08-29T00:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1943-10-31T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1943-10-31T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1943-10-31T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1943-10-31T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1944" : function (t) {
t.equal(moment("1944-03-12T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1944-03-12T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1944-03-12T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1944-03-12T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1944-04-22T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1944-04-22T23:59:59+00:00 should be 22:59:59 AZOST");
t.equal(moment("1944-04-23T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1944-04-23T00:00:00+00:00 should be 00:00:00 AZOMT");
t.equal(moment("1944-08-26T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1944-08-26T23:59:59+00:00 should be 23:59:59 AZOMT");
t.equal(moment("1944-08-27T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1944-08-27T00:00:00+00:00 should be 23:00:00 AZOST");
t.equal(moment("1944-10-29T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1944-10-29T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1944-10-29T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1944-10-29T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1944-03-12T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1944-03-12T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1944-03-12T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1944-03-12T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1944-04-22T23:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1944-04-22T23:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1944-04-23T00:00:00+00:00").tz("Atlantic/Azores").zone(), 0, "1944-04-23T00:00:00+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1944-08-26T23:59:59+00:00").tz("Atlantic/Azores").zone(), 0, "1944-08-26T23:59:59+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1944-08-27T00:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1944-08-27T00:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1944-10-29T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1944-10-29T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1944-10-29T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1944-10-29T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1945" : function (t) {
t.equal(moment("1945-03-11T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1945-03-11T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1945-03-11T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1945-03-11T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1945-04-21T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1945-04-21T23:59:59+00:00 should be 22:59:59 AZOST");
t.equal(moment("1945-04-22T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1945-04-22T00:00:00+00:00 should be 00:00:00 AZOMT");
t.equal(moment("1945-08-25T23:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1945-08-25T23:59:59+00:00 should be 23:59:59 AZOMT");
t.equal(moment("1945-08-26T00:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1945-08-26T00:00:00+00:00 should be 23:00:00 AZOST");
t.equal(moment("1945-10-28T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1945-10-28T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1945-10-28T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1945-10-28T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1945-03-11T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1945-03-11T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1945-03-11T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1945-03-11T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1945-04-21T23:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1945-04-21T23:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1945-04-22T00:00:00+00:00").tz("Atlantic/Azores").zone(), 0, "1945-04-22T00:00:00+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1945-08-25T23:59:59+00:00").tz("Atlantic/Azores").zone(), 0, "1945-08-25T23:59:59+00:00 should be 0 minutes offset in AZOMT");
t.equal(moment("1945-08-26T00:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1945-08-26T00:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1945-10-28T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1945-10-28T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1945-10-28T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1945-10-28T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1946" : function (t) {
t.equal(moment("1946-04-07T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "22:59:59", "1946-04-07T00:59:59+00:00 should be 22:59:59 AZOT");
t.equal(moment("1946-04-07T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "00:00:00", "1946-04-07T01:00:00+00:00 should be 00:00:00 AZOST");
t.equal(moment("1946-10-06T00:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:59:59", "1946-10-06T00:59:59+00:00 should be 23:59:59 AZOST");
t.equal(moment("1946-10-06T01:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "23:00:00", "1946-10-06T01:00:00+00:00 should be 23:00:00 AZOT");
t.equal(moment("1946-04-07T00:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1946-04-07T00:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1946-04-07T01:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1946-04-07T01:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1946-10-06T00:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1946-10-06T00:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1946-10-06T01:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1946-10-06T01:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1947" : function (t) {
t.equal(moment("1947-04-06T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1947-04-06T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1947-04-06T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1947-04-06T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1947-10-05T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1947-10-05T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1947-10-05T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1947-10-05T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1947-04-06T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1947-04-06T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1947-04-06T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1947-04-06T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1947-10-05T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1947-10-05T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1947-10-05T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1947-10-05T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1948" : function (t) {
t.equal(moment("1948-04-04T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1948-04-04T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1948-04-04T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1948-04-04T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1948-10-03T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1948-10-03T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1948-10-03T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1948-10-03T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1948-04-04T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1948-04-04T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1948-04-04T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1948-04-04T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1948-10-03T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1948-10-03T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1948-10-03T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1948-10-03T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1949" : function (t) {
t.equal(moment("1949-04-03T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1949-04-03T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1949-04-03T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1949-04-03T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1949-10-02T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1949-10-02T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1949-10-02T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1949-10-02T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1949-04-03T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1949-04-03T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1949-04-03T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1949-04-03T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1949-10-02T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1949-10-02T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1949-10-02T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1949-10-02T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1951" : function (t) {
t.equal(moment("1951-04-01T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1951-04-01T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1951-04-01T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1951-04-01T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1951-10-07T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1951-10-07T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1951-10-07T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1951-10-07T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1951-04-01T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1951-04-01T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1951-04-01T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1951-04-01T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1951-10-07T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1951-10-07T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1951-10-07T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1951-10-07T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1952" : function (t) {
t.equal(moment("1952-04-06T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1952-04-06T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1952-04-06T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1952-04-06T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1952-10-05T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1952-10-05T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1952-10-05T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1952-10-05T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1952-04-06T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1952-04-06T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1952-04-06T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1952-04-06T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1952-10-05T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1952-10-05T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1952-10-05T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1952-10-05T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1953" : function (t) {
t.equal(moment("1953-04-05T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1953-04-05T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1953-04-05T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1953-04-05T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1953-10-04T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1953-10-04T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1953-10-04T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1953-10-04T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1953-04-05T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1953-04-05T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1953-04-05T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1953-04-05T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1953-10-04T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1953-10-04T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1953-10-04T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1953-10-04T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1954" : function (t) {
t.equal(moment("1954-04-04T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1954-04-04T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1954-04-04T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1954-04-04T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1954-10-03T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1954-10-03T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1954-10-03T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1954-10-03T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1954-04-04T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1954-04-04T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1954-04-04T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1954-04-04T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1954-10-03T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1954-10-03T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1954-10-03T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1954-10-03T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1955" : function (t) {
t.equal(moment("1955-04-03T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1955-04-03T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1955-04-03T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1955-04-03T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1955-10-02T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1955-10-02T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1955-10-02T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1955-10-02T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1955-04-03T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1955-04-03T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1955-04-03T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1955-04-03T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1955-10-02T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1955-10-02T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1955-10-02T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1955-10-02T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1956" : function (t) {
t.equal(moment("1956-04-01T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1956-04-01T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1956-04-01T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1956-04-01T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1956-10-07T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1956-10-07T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1956-10-07T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1956-10-07T04:00:00+00:00 should be 02:00:00 AZOT");
t.equal(moment("1956-04-01T03:59:59+00:00").tz("Atlantic/Azores").zone(), 120, "1956-04-01T03:59:59+00:00 should be 120 minutes offset in AZOT");
t.equal(moment("1956-04-01T04:00:00+00:00").tz("Atlantic/Azores").zone(), 60, "1956-04-01T04:00:00+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1956-10-07T03:59:59+00:00").tz("Atlantic/Azores").zone(), 60, "1956-10-07T03:59:59+00:00 should be 60 minutes offset in AZOST");
t.equal(moment("1956-10-07T04:00:00+00:00").tz("Atlantic/Azores").zone(), 120, "1956-10-07T04:00:00+00:00 should be 120 minutes offset in AZOT");
t.done();
},
"1957" : function (t) {
t.equal(moment("1957-04-07T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "01:59:59", "1957-04-07T03:59:59+00:00 should be 01:59:59 AZOT");
t.equal(moment("1957-04-07T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "03:00:00", "1957-04-07T04:00:00+00:00 should be 03:00:00 AZOST");
t.equal(moment("1957-10-06T03:59:59+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:59:59", "1957-10-06T03:59:59+00:00 should be 02:59:59 AZOST");
t.equal(moment("1957-10-06T04:00:00+00:00").tz("Atlantic/Azores").format("HH:mm:ss"), "02:00:00", "1957-10-06T04:00:00+00:00 should be 02:00:00 A