DateTimeCond.def constructor

DateTimeCond.def()

Creates a new instance of the DateTimeCond class with default values.

The default values are: min set to DateTime.fromMillisecondsSinceEpoch(0), max set to the current date and time, and ignore set to false.

Implementation

factory DateTimeCond.def() {
  return DateTimeCond(min: zero, max: DateTime.now());
}