Intended to be used by the viewer as a rendering hint.
In the standard Apache Isis Programming Model, corresponds to the @RenderedAdjusted annotation.
343536373839404142
} @Override public void process(final ProcessMethodContext processMethodContext) { final RenderedAsDayBefore annotation = Annotations.getAnnotation(processMethodContext.getMethod(), RenderedAsDayBefore.class); final RenderedAdjustedFacet facet = create(annotation, processMethodContext.getFacetHolder()); FacetUtil.addFacet(facet); }
6465666768697071
protected void init(DateConverter<T> converter) { this.converter = converter; } protected int getAdjustBy() { final RenderedAdjustedFacet facet = getModel().getFacet(RenderedAdjustedFacet.class); return facet != null? facet.value(): 0; }
6061626364656667