method
normalize
v8.0.0 -
Show latest stable
- Class:
ActiveSupport::Duration::ISO8601Serializer
normalize()private
Return pair of duration’s parts and whole duration sign. Parts are summarized (as they can become repetitive due to addition, etc). Zero parts are removed as not significant.