refactor(Globalization):

This commit is contained in:
Guille 2016-07-08 01:06:34 +02:00
parent 31ec643126
commit be3c579c49

View File

@ -1,4 +1,4 @@
import {Plugin, Cordova} from './plugin';
import { Cordova, Plugin } from './plugin';
/**
* @name Globalization
@ -40,7 +40,7 @@ export class Globalization {
*/
@Cordova({
successIndex: 1,
errorIndex: 2
errorIndex 2
})
static dateToString(date: Date, options: {formatLength: string, selector: string}): Promise<{value: string}> { return; }
@ -55,7 +55,6 @@ export class Globalization {
})
static stringToDate(dateString: string, options: {formatLength: string, selector: string}): Promise<{year: number, month: number, day: number, hour: number, minute: number, second: number, millisecond: number}> { return; }
/**
*
* @param options
@ -65,7 +64,6 @@ export class Globalization {
})
static getDatePattern(options: {formatLength: string, selector: string}): Promise<{pattern: string}> { return; }
/**
*
* @param options