docs: public static boolean isRange(String eventDate) { 
      	boolean isRange = false;
      	if (eventDate!=null) { 
      		String[] dateBits = eventDate.split("/");
      		if (dateBits!=null && dateBits.length==2) { 
      			//probably a range.
      			DateTimeParser[] parsers = { 
      					DateTimeFormat.forPattern("yyyy-MM").getParser(),
      					DateTimeFormat.forPattern("yyyy").getParser(),
      					ISODateTimeFormat.dateOptionalTimeParser().getParser()
      			};
      			DateTimeFormatter formatter = new DateTimeFormatterBuilder().append( null, parsers ).toFormatter();
      			try { 
      				// must be at least a 4 digit year.
      				if (dateBits[0].length()>3 && dateBits[1].length()>3) { 
      					DateMidnight startDate = LocalDate.parse(dateBits[0],formatter).toDateMidnight();
      					DateMidnight endDate = LocalDate.parse(dateBits[1],formatter).toDateMidnight();
      					// both start date and end date must parse as dates.
      					isRange = true;
      				}
      			} catch (Exception e) { 
      				// not a date range
      				e.printStackTrace();
      				logger.debug(e.getMessage());
      			}
      		} else if (dateBits!=null && dateBits.length==1) { 
      			logger.debug(dateBits[0]);
      			// Date bits does not contain a /
      			// Is eventDate in the form yyyy-mm-dd, if so, not a range  
      			DateTimeParser[] parsers = { 
      					DateTimeFormat.forPattern("yyyy-MM-dd").getParser(),
      			};
      			DateTimeFormatter formatter = new DateTimeFormatterBuilder().append( null, parsers ).toFormatter();
      			try { 
      				DateMidnight date = DateMidnight.parse(eventDate,formatter);
      				isRange = false;
      			} catch (Exception e) { 
      				logger.debug(e.getMessage());
      				// not parsable with the yyyy-mm-dd parser.
      				DateTimeParser[] parsers2 = { 
          					DateTimeFormat.forPattern("yyyy-MM").getParser(),
          					DateTimeFormat.forPattern("yyyy").getParser(),
          			};
          			formatter = new DateTimeFormatterBuilder().append( null, parsers2 ).toFormatter();
          			try { 
          				// must be at least a 4 digit year.
          				if (dateBits[0].length()>3) { 
          					DateMidnight startDate = DateMidnight.parse(dateBits[0],formatter);
          					// date must parse as either year or year and month dates.
          					isRange = true;
          				}
          			} catch (Exception e1) { 
          				// not a date range
          			}    				
      				
      			}
      			
      		}
      	}
      	return isRange;
      }