Added conversions to and from core.time.Duration