Converts the Spark representation of a duration into the Okapi representation.
Converts the Spark representation of a duration into the Okapi representation.
To ensure compatibility with the reverse operation we estimate the number of days from the given seconds.