code: private String cutYear(String str) {
          if (str.length() > 3) {
              return str.substring(str.length() - 3, str.length());
          } else {
              return str;
          }
      }
docs: Remove the 2-bit year number from input date string
  
  @param str input date string
  @return the days of year