returns a period with the given start date and duration . concode_field_sep DateValue start concode_elem_sep DateValue end concode_field_sep boolean contains concode_elem_sep boolean intersects concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep DateValue start concode_elem_sep PeriodValue create concode_elem_sep DateValue end concode_elem_sep String toString
PeriodValue function ( DateValue arg0 , DateValue arg1 ) { DateValue loc0 = TimeUtils . add ( arg0 , arg1 ) ; if ( loc0 instanceof TimeValue && ! ( arg0 instanceof TimeValue ) ) { arg0 = TimeUtils . dayStart ( arg0 ) ; } return new PeriodValueImpl ( arg0 , loc0 ) ; }