NAME
HTML::FormHandler::Field::Duration - DateTime::Duration from HTML form values
SubFields
Subfield names:
years, months, weeks, days, hours, minutes, seconds, nanoseconds
For example:
has 'duration' => ( type => 'Compound' );
has 'duration.hours' => ( type => 'Hours',
parent => 'class_duration');
has 'duration.minutes' => ( type => 'Minutes',
parent => 'class_duration' );