public class AttributableDate extends Date implements Attributable<AttributableDate>
Date
,
PersonAttribute
,
Attributable
,
Serialized FormConstructor 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 |
---|---|
List<AttributableDate> |
findPossibleValues(String searchText)
Deprecated.
|
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
|
List<AttributableDate> |
getPossibleValues()
Deprecated.
|
AttributableDate |
hydrate(String s)
Deserialize the given string into a full object
|
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, UTC
public AttributableDate()
Date()
public AttributableDate(long time)
time
- Date(long)
@Deprecated public List<AttributableDate> findPossibleValues(String searchText)
Attributable
findPossibleValues
in interface Attributable<AttributableDate>
searchText
- String to search onAttributable.findPossibleValues(java.lang.String)
public String getDisplayString()
Attributable
getDisplayString
in interface Attributable<AttributableDate>
Attributable.getDisplayString()
@Deprecated public List<AttributableDate> getPossibleValues()
Attributable
getPossibleValues
in interface Attributable<AttributableDate>
Attributable.getPossibleValues()
public AttributableDate hydrate(String s)
Attributable
hydrate
in interface Attributable<AttributableDate>
s
- String to deserializeAttributable.hydrate(java.lang.String)
public String serialize()
Attributable
serialize
in interface Attributable<AttributableDate>
Attributable.serialize()
Copyright © 2024 OpenMRS Inc.. All rights reserved.