code: public HandyDate date(Object expression) {
          if (expression instanceof LocalDate) {
              return create((LocalDate) expression);
          }
          if (expression instanceof LocalDateTime) {
              return create((LocalDateTime) expression);
          }
          if (expression instanceof java.util.Date) {
              return create((java.util.Date) expression);
          }
          if (expression instanceof String) { // basically unused so uses default parsing
              return create((String) expression);
          }
          String msg = "First argument as one argument should be LocalDate or LocalDateTime or Date or String(expression): " + expression;
          throw new TemplateProcessingException(msg);
      }
docs: Create HandyDate object.
  @param expression Date expression.(LocalDate, LocalDateTime, Date String)
  @return HandyDate