XPathDateTime constructor

const XPathDateTime(
  1. int? year, [
  2. int? month,
  3. int? day,
  4. int? hour,
  5. int? minute,
  6. int? second,
  7. int millisecond = 0,
  8. int microsecond = 0,
  9. int? timezoneOffsetMinutes,
  10. XPathType type = xsDateTime,
])

Creates a new XPathDateTime with the given components.

Implementation

const new(
  this.year, [
  this.month,
  this.day,
  this.hour,
  this.minute,
  this.second,
  this.millisecond = 0,
  this.microsecond = 0,
  this.timezoneOffsetMinutes,
  this.type = xsDateTime,
]);