@Override
  public Serializable getRoutingObject(EntryOperation opDetails) {
    Serializable routingObj = (Serializable) opDetails.getKey();
    Calendar calendar = Calendar.getInstance();
    calendar.setTime((Date) routingObj);
    return new SerializableMonth(calendar.get(Calendar.MONTH));
  }
Example implementation of a Partition Resolver which uses part of the value for custom
partitioning.

<p>
Extracted from {@link PRCustomPartitioningDistributedTest}.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/MonthBasedPartitionResolver.java