DateTime
The DateTime API is used as fallback to momentJS.
Static Method Summary
Static Public Methods | ||
public static |
isMoment(obj: *): * |
|
public static |
locale(value: *): * |
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
add(value: *, type: *): * |
|
public |
clone(): * |
|
public |
date(): * |
|
public |
day(day: *): * |
|
public |
daysInMonth(): * |
|
public |
diff(obj: *): * |
|
public |
format(format: *): * |
|
public |
hours(hours: *): * |
|
public |
|
|
public |
|
|
public |
isSame(obj: *, type: *): * |
|
public |
isValid(): * |
|
public |
locale(value: *): * |
|
public |
minutes(minutes: *): * |
|
public |
month(): * |
|
public |
startOf(value: *): * |
|
public |
subtract(value: *, type: *): * |
|
public |
toDate(): * |
|
public |
week(): * |
|
public |
year(): * |
Static Public Members
Static Public Methods
Public Constructors
Public Methods
public add(value: *, type: *): * source
Params:
Name | Type | Attribute | Description |
value | * | ||
type | * |
Return:
* |
public isAfter(coralDate: *, unit: *): boolean source
Params:
Name | Type | Attribute | Description |
coralDate | * | ||
unit | * |
public isBefore(coralDate: *, unit: *): boolean source
Params:
Name | Type | Attribute | Description |
coralDate | * | ||
unit | * |
public isSame(obj: *, type: *): * source
Params:
Name | Type | Attribute | Description |
obj | * | ||
type | * |
Return:
* |
public subtract(value: *, type: *): * source
Params:
Name | Type | Attribute | Description |
value | * | ||
type | * |
Return:
* |