code: public HandyDate date(Object expression, Object pattern, Object locale) {
          if (!(expression instanceof String)) {
              String msg = "First argument as three arguments should be String(expression): " + expression;
              throw new TemplateProcessingException(msg);
          }
          if (!(pattern instanceof String)) {
              String msg = "Second argument as three arguments should be TimeZone or String(pattern): " + pattern;
              throw new TemplateProcessingException(msg);
          }
          if (!(locale instanceof Locale)) {
              String msg = "Third argument as three arguments should be Locale: " + locale;
              throw new TemplateProcessingException(msg);
          }
          return create((String) expression, (String) pattern, (Locale) locale);
      }
docs: Create HandyDate object.
  @param expression String date (String)
  @param pattern date format pattern (String)
  @param locale date locale (Locale)
  @return HandyDate