method

normalize

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - Class: 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. If all parts are negative it will negate all of them and return minus as a sign.

Show source
Register or log in to add new notes.