DateFromParts constructor
DateFromParts({
- @required dynamic year,
- dynamic month,
- dynamic day,
- dynamic hour,
- dynamic minute,
- dynamic second,
- dynamic millisecond,
- dynamic timezone,
Creates $dateFromParts
operator expression
Constructs and returns a Date object given the date’s constituent properties.
Implementation
DateFromParts(
{@required year, month, day, hour, minute, second, millisecond, timezone})
: super(
'dateFromParts',
AEObject({
'year': year,
'month': month,
'day': day,
'hour': hour,
'minute': minute,
'second': second,
'millisecond': millisecond,
'timezone': timezone
}));