public TimeInterval around ( Timestamp reference ) { TimeDuration half = this . dividedBy ( 2 ) ; return TimeInterval . between ( reference . minus ( half ) , reference . plus ( half ) ) ; }
Returns a time interval that lasts this duration and is centered around the given timestamp .