public Interval withEnd ( ReadableInstant end ) { long endMillis = DateTimeUtils . getInstantMillis ( end ) ; return withEndMillis ( endMillis ) ; }
Creates a new interval with the specified end instant .