Convert to POSIX duration type.
static boost::posix_time::time_duration to_posix_duration( const duration_type & d);