com.atlassian.confluence.content.render.xhtml.model.time
Class Time

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.model.time.Time

public class Time
extends Object

Transforming model for <time> element. The format is <time> datetime="2013-12-30"</time>


Field Summary
static org.joda.time.format.DateTimeFormatter DATE_TIME_FORMATTER
          The pattern for datetime attribute of TIME element.
static String STORAGE_DATE_FORMAT
           
 
Constructor Summary
Time(String datetimeString)
           
 
Method Summary
 boolean equals(Object o)
           
 String getCssClasses()
           
 org.joda.time.LocalDateTime getDateTime()
           
 String getDatetimeString()
           
 int hashCode()
           
 void setCssClasses(String cssClasses)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STORAGE_DATE_FORMAT

public static final String STORAGE_DATE_FORMAT
See Also:
Constant Field Values

DATE_TIME_FORMATTER

public static final org.joda.time.format.DateTimeFormatter DATE_TIME_FORMATTER
The pattern for datetime attribute of TIME element. Example: 2013-12-30

Constructor Detail

Time

public Time(String datetimeString)
     throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getDatetimeString

public String getDatetimeString()

getDateTime

public org.joda.time.LocalDateTime getDateTime()

getCssClasses

public String getCssClasses()

setCssClasses

public void setCssClasses(String cssClasses)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.