public class AttributableDate extends java.util.Date implements Attributable<AttributableDate>
Date,
PersonAttribute,
Attributable,
Serialized Form| Constructor and Description |
|---|
AttributableDate()
Default empty constructor
|
AttributableDate(long time)
Convenience constructor allowing creation of an AttributableDate with the given time
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AttributableDate> |
findPossibleValues(java.lang.String searchText)
Search for possible values of this object using the given search string
|
java.lang.String |
getDisplayString()
Gets a descriptive String used for display purposes This is meant as an alternative to using
the toString() to display this object to a user
|
java.util.List<AttributableDate> |
getPossibleValues()
Find all possible values of this object.
|
AttributableDate |
hydrate(java.lang.String s)
Deserialize the given string into a full object
|
java.lang.String |
serialize()
Turn the current object into an identifying string that can be retrieved later
|
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, toString, UTCpublic AttributableDate()
Date()public AttributableDate(long time)
time - Date(long)public java.util.List<AttributableDate> findPossibleValues(java.lang.String searchText)
AttributablefindPossibleValues in interface Attributable<AttributableDate>searchText - String to search onAttributable.findPossibleValues(java.lang.String)public java.lang.String getDisplayString()
AttributablegetDisplayString in interface Attributable<AttributableDate>Attributable.getDisplayString()public java.util.List<AttributableDate> getPossibleValues()
AttributablegetPossibleValues in interface Attributable<AttributableDate>Attributable.getPossibleValues()public AttributableDate hydrate(java.lang.String s)
Attributablehydrate in interface Attributable<AttributableDate>s - String to deserializeAttributable.hydrate(java.lang.String)public java.lang.String serialize()
Attributableserialize in interface Attributable<AttributableDate>Attributable.serialize()Copyright © 2020 OpenMRS Inc.. All Rights Reserved.