addDaysToDate
(
date: DateTime, days: int)
→{ DateTime }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
days |
int |
|
addHoursToDate
(
date: DateTime, hours: int)
→{ DateTime }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
hours |
int |
|
createDate
(
milliSeconds: long)
→{ DateTime }
Parameters
Name |
Type |
Description |
milliSeconds |
long |
|
diff
(
date1: Object, date2: Object, unit: String)
→{ long }
Parameters
Name |
Type |
Description |
date1 |
Object |
|
date2 |
Object |
|
unit |
String |
|
diff
(
date1: Object, date2: Object)
→{ long }
Parameters
Name |
Type |
Description |
date1 |
Object |
|
date2 |
Object |
|
getDate
(
timezone: String)
→{ DateTime }
Parameters
Name |
Type |
Description |
timezone |
String |
|
getDate
(
)
→{ DateTime }
getDayInMonth
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getDayInMonth
(
)
→{ int }
getDayInWeek
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getDayInWeek
(
)
→{ int }
getHour
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getLastMondayFromDate
(
date: DateTime)
→{ DateTime }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getMinute
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getMonth
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getSecond
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getToday
(
)
→{ DateTime }
getWeek
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
getYear
(
date: DateTime)
→{ int }
Parameters
Name |
Type |
Description |
date |
DateTime |
|
newDate
(
dateObj: Object, timezone: String)
→{ DateTime }
Parameters
Name |
Type |
Description |
dateObj |
Object |
|
timezone |
String |
|
toMidnight
(
date: DateTime)
→{ DateTime }
Parameters
Name |
Type |
Description |
date |
DateTime |
|