PDuration.now constructor

PDuration.now()

Implementation

PDuration.now() {
  var thisInstant = new DateTime.now();
  this.year = thisInstant.year;
  this.month = thisInstant.month;
  this.day = thisInstant.day;
  this.hour = thisInstant.hour;
  this.minute = thisInstant.minute;
  this.second = thisInstant.second;
}