code: private static Token createDateToken(final String configuration) {
  		if (configuration == null) {
  			return new DateToken();
  		} else {
  			try {
  				return new DateToken(configuration);
  			} catch (IllegalArgumentException ex) {
  				InternalLogger.log(Level.ERROR, "'" + configuration + "' is an invalid date format pattern");
  				return new DateToken();
  			}
  		}
  	}
docs: Creates a new {@link DateToken}.
  
  @param configuration
  Defined format pattern or {@code null} for default pattern
  @return New instance of {@link DateToken}