Class Time
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static org.joda.time.format.DateTimeFormatter
DATE_TIME_FORMATTER
The pattern for datetime attribute of TIME element.static String
STORAGE_DATE_FORMAT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getCssClasses()
org.joda.time.LocalDateTime
getDateTime()
String
getDatetimeString()
int
hashCode()
void
setCssClasses(String cssClasses)
-
-
-
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
-
-