com.atlassian.confluence.plugins.rest.entities
Class DateEntity

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.entities.DateEntity

public class DateEntity
extends java.lang.Object

Represents a date value with various formats


Constructor Summary
DateEntity()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDate()
          Full date representation, such as "2010-02-09T23:22:47-0600"
 java.lang.String getFriendly()
          Human readable format of this date, such as "4 minutes ago" or "Mar 11, 2010"
 int hashCode()
           
 void setDate(java.lang.String date)
           
 void setFriendly(java.lang.String friendly)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateEntity

public DateEntity()
Method Detail

getFriendly

public java.lang.String getFriendly()
Human readable format of this date, such as "4 minutes ago" or "Mar 11, 2010"

Returns:

setFriendly

public void setFriendly(java.lang.String friendly)

getDate

public java.lang.String getDate()
Full date representation, such as "2010-02-09T23:22:47-0600"

Returns:

setDate

public void setDate(java.lang.String date)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.