Class DateEntity
- java.lang.Object
 - 
- com.atlassian.confluence.plugins.rest.entities.DateEntity
 
 
- 
public class DateEntity extends Object
Represents a date value with various formats 
- 
- 
Constructor Summary
Constructors Constructor Description DateEntity() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDate()Full date representation, such as "2010-02-09T23:22:47-0600"StringgetFriendly()Human readable format of this date, such as "4 minutes ago" or "Mar 11, 2010"inthashCode()voidsetDate(String date)voidsetFriendly(String friendly)StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getFriendly
public String getFriendly()
Human readable format of this date, such as "4 minutes ago" or "Mar 11, 2010"- Returns:
 
 
- 
setFriendly
public void setFriendly(String friendly)
 
- 
getDate
public String getDate()
Full date representation, such as "2010-02-09T23:22:47-0600"- Returns:
 
 
- 
setDate
public void setDate(String date)
 
 - 
 
 -