@Override
  public String getDisplayString(String[] children) {
    return getStandardDisplayString(getFuncName(), children);
  }
GenericUDFQuarter.

Returns the quarter of the year for date, in the range 1 to 4.
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFQuarter.java