com.atlassian.confluence.content.render.xhtml.storage.time
Class DateLozengeDecorator

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.storage.time.DateLozengeDecorator
All Implemented Interfaces:
TimeModelDecorator

public class DateLozengeDecorator
extends java.lang.Object
implements TimeModelDecorator

Add css class to the <time> element, depend on the relative distance between current date and the date stored in the element


Constructor Summary
DateLozengeDecorator(UserAccessor userAccessor)
           
 
Method Summary
 void decorate(Time time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateLozengeDecorator

public DateLozengeDecorator(UserAccessor userAccessor)
Method Detail

decorate

public void decorate(Time time)
Specified by:
decorate in interface TimeModelDecorator


Copyright © 2003-2014 Atlassian. All Rights Reserved.