PDuration.now constructor

PDuration.now()

Implementation

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