Deprecating getMilliseconds* and getNanoseconds* and add getDuration*