Skip to content

Commit 2819c1e

Browse files
authored
Merge pull request NativeScript#591 from NativeScript/hdeshev/lang-facade-clean
chore(cleanup): Delete unused export in lang-facade
2 parents 097501e + 99a732e commit 2819c1e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

nativescript-angular/lang-facade.ts

-13
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,6 @@ export function getSymbolIterator(): string|symbol {
5353
return _symbolIterator;
5454
}
5555

56-
export class DateWrapper {
57-
static create(
58-
year: number, month: number = 1, day: number = 1, hour: number = 0, minutes: number = 0,
59-
seconds: number = 0, milliseconds: number = 0): Date {
60-
return new Date(year, month - 1, day, hour, minutes, seconds, milliseconds);
61-
}
62-
static fromISOString(str: string): Date { return new Date(str); }
63-
static fromMillis(ms: number): Date { return new Date(ms); }
64-
static toMillis(date: Date): number { return date.getTime(); }
65-
static now(): Date { return new Date(); }
66-
static toJson(date: Date): string { return date.toJSON(); }
67-
}
68-
6956
export function setValueOnPath(global: any, path: string, value: any) {
7057
let parts = path.split('.');
7158
let obj: any = global;

0 commit comments

Comments
 (0)