Adjusted tests for 1.4.6

This commit is contained in:
Rogier Schouten
2014-08-15 14:19:58 +02:00
parent 317fb99d45
commit 0ac4c6c592
+12 -3
View File
@@ -2,9 +2,18 @@
import tc = require("timezonecomplete");
var b: boolean = tc.isLeapYear(2014);
var n: number = tc.daysInMonth(2014, 10);
var s: string = tc.isoString(2014, 6, 30, 22, 10, 11, 230);
var b: boolean;
var n: number;
var s: string;
var w: tc.WeekDay;
b = tc.isLeapYear(2014);
n = tc.daysInMonth(2014, 10);
n = tc.daysInYear(2014);
n = tc.dayOfYear(2014, 1, 2);
w = tc.lastWeekDayOfMonth(2014, 1, tc.WeekDay.Sunday);
n = tc.weekDayOnOrAfter(2014, 1, 14, tc.WeekDay.Monday);
n = tc.weekDayOnOrBefore(2014, 1, 14, tc.WeekDay.Monday);
// DURATION