private void testRange(boolean aSuccess, String aDateTime){
    if(aSuccess){
      try {
        DateTime dateTime = new DateTime(aDateTime);
        dateTime.ensureParsed();
      }
      catch (IllegalArgumentException ex){
        fail("Item out of range:" + aDateTime);        
      }
      catch (DateTimeParser.UnknownDateTimeFormat ex){
        fail("Unknown format:" + aDateTime);        
      }
    }
    if(!aSuccess){
      try {
        DateTime dateTime = new DateTime(aDateTime);
        dateTime.ensureParsed(); 
        fail("Item out of range?:" + aDateTime);        
      }
      catch (DateTime.ItemOutOfRange ex){
        //do nothing - expected
      }
      catch (DateTimeParser.UnknownDateTimeFormat ex){
        //do nothing - expected
      }
    }
  }