### Question:
DateAppIdHashFunction implements HashFunction { @Override public HashType getType() { return HashType.APPID_YEARMONTH; } DateAppIdHashFunction();  DateAppIdHashFunction(int partitions); @Override int indexOf(Object key); @Override int indexOf(List<Object> keys); @Override HashType getType();  }### Answer:
@Test public void getType() { Assert.assertEquals(new DateAppIdHashFunction(0).getType(), HashType.APPID_YEARMONTH); }