XPathDateTime.date constructor

const XPathDateTime.date(
  1. int year,
  2. int month,
  3. int day, [
  4. int? timezoneOffsetMinutes,
])

Creates a new XPathDateTime representing an xs:date.

Implementation

const new date(
  int this.year,
  int this.month,
  int this.day, [
  this.timezoneOffsetMinutes,
]) : hour = null,
     minute = null,
     second = null,
     millisecond = 0,
     microsecond = 0,
     type = xsDate;