PDuration.parse constructor
PDuration.parse(
- DateTime dateTime
Implementation
PDuration.parse(DateTime dateTime) {
this.year = dateTime.year;
this.month = dateTime.month;
this.day = dateTime.day;
this.hour = dateTime.hour;
this.minute = dateTime.minute;
this.second = dateTime.second;
}