public class DateAttribute extends Object implements Attribute
Attribute
that encapsulates a Date.Constructor and Description |
---|
DateAttribute(org.joda.time.DateTime value)
Constructs a Date attribute from a Date
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Term other) |
boolean |
equals(Object oth)
A DateAttribute is equal to another Object if that Object is a DateAttribute
and their values are equal.
|
org.joda.time.DateTime |
getValue() |
int |
hashCode() |
String |
toString() |
public DateAttribute(org.joda.time.DateTime value)
value
- Date to encapsulatepublic String toString()
public org.joda.time.DateTime getValue()
public int hashCode()
public boolean equals(Object oth)
public int compareTo(Term other)
compareTo
in interface Comparable<Term>
Copyright © 2018 University of California, Santa Cruz. All rights reserved.