Package org.orcid.jaxb.model.common_v2
Class FuzzyDate
java.lang.Object
org.orcid.jaxb.model.common_v2.FuzzyDate
- All Implemented Interfaces:
Serializable,Comparable<FuzzyDate>
- Direct Known Subclasses:
PublicationDate
Java class for fuzzy-date complex type.
The following schema fragment specifies the expected content contained within this class.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetDay()Gets the value of the day property.getMonth()Gets the value of the month property.getYear()Gets the value of the year property.inthashCode()voidSets the value of the day property.voidSets the value of the month property.voidSets the value of the year property.toString()static FuzzyDate
-
Field Details
-
year
-
month
-
day
-
-
Constructor Details
-
FuzzyDate
public FuzzyDate() -
FuzzyDate
-
FuzzyDate
-
FuzzyDate
-
-
Method Details
-
valueOf
-
getYear
Gets the value of the year property.- Returns:
- possible object is
Year
-
setYear
Sets the value of the year property.- Parameters:
value- allowed object isYear
-
getMonth
Gets the value of the month property.- Returns:
- possible object is
Month
-
setMonth
Sets the value of the month property.- Parameters:
value- allowed object isMonth
-
getDay
Gets the value of the day property.- Returns:
- possible object is
Day
-
setDay
Sets the value of the day property.- Parameters:
value- allowed object isDay
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<FuzzyDate>
-