public final CalendarInterval getInterval ( int rowId ) { if ( isNullAt ( rowId ) ) return null ; final int months = getChild ( 0 ) . getInt ( rowId ) ; final long microseconds = getChild ( 1 ) . getLong ( rowId ) ; return new CalendarInterval ( months , microseconds ) ; }
Returns the calendar interval type value for rowId . If the slot for rowId is null it should return null .