return calendarEnd.getDay().intValue() - calendarStart.getDay().intValue() + 1;
}
public Object succ( Object value, int n ) {
BigInteger bigN = new BigInteger( String.valueOf( n ) );
ITimeDurationValueType nDays = new BigTimeDurationValueType(
NumberUtils.INTEGER_ZERO, NumberUtils.INTEGER_ZERO, bigN,
NumberUtils.INTEGER_ZERO, NumberUtils.INTEGER_ZERO, NumberUtils.DECIMAL_ZERO );
IDateTimeValueType s = ((IDateTimeValueType)value).add( nDays );
return s;