Package ca.uhn.fhir.rest.param.binder
Class DateBinder
java.lang.Object
ca.uhn.fhir.rest.param.binder.DateBinder
- All Implemented Interfaces:
IParamBinder<Date>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected Date
encode
(FhirContext theContext, Date theString) parse
(FhirContext theContext, String theName, List<QualifiedParamList> theParams)
-
Constructor Details
-
DateBinder
public DateBinder()
-
-
Method Details
-
doEncode
-
doParse
-
encode
public List<IQueryParameterOr<?>> encode(FhirContext theContext, Date theString) throws InternalErrorException - Specified by:
encode
in interfaceIParamBinder<T>
- Throws:
InternalErrorException
-
parse
public Date parse(FhirContext theContext, String theName, List<QualifiedParamList> theParams) throws InternalErrorException, InvalidRequestException - Specified by:
parse
in interfaceIParamBinder<T>
- Throws:
InternalErrorException
InvalidRequestException
-