mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Adjusted tests for 1.4.6
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user