Package com.ibm.fhir.path.function
Class BetweenFunction
- java.lang.Object
 - 
- com.ibm.fhir.path.function.FHIRPathAbstractFunction
 - 
- com.ibm.fhir.path.function.BetweenFunction
 
 
 
- 
- All Implemented Interfaces:
 FHIRPathFunction
public class BetweenFunction extends FHIRPathAbstractFunction
An implementation defined FHIRPath function that calculates the time between two date/time values. The behavior of this function is specified by the underlying java.time library function: ChronoUnit.between(Temporal, Temporal) 
- 
- 
Constructor Summary
Constructors Constructor Description BetweenFunction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FHIRPathNode>apply(FHIRPathEvaluator.EvaluationContext evaluationContext, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)intgetMaxArity()intgetMinArity()StringgetName()- 
Methods inherited from class com.ibm.fhir.path.function.FHIRPathAbstractFunction
cacheFunctionResult, equals, generateIssue, getCachedFunctionResult, hasCachedFunctionResult, hashCode 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getName
public String getName()
- Specified by:
 getNamein interfaceFHIRPathFunction- Specified by:
 getNamein classFHIRPathAbstractFunction
 
- 
getMinArity
public int getMinArity()
- Specified by:
 getMinArityin interfaceFHIRPathFunction- Specified by:
 getMinArityin classFHIRPathAbstractFunction
 
- 
getMaxArity
public int getMaxArity()
- Specified by:
 getMaxArityin interfaceFHIRPathFunction- Specified by:
 getMaxArityin classFHIRPathAbstractFunction
 
- 
apply
public Collection<FHIRPathNode> apply(FHIRPathEvaluator.EvaluationContext evaluationContext, Collection<FHIRPathNode> context, List<Collection<FHIRPathNode>> arguments)
- Specified by:
 applyin interfaceFHIRPathFunction- Overrides:
 applyin classFHIRPathAbstractFunction
 
 - 
 
 -