Duration.to_data

Duration.to_data()[source]

Return the data dictionary that represents the duration, and from which it can be reconstructed.