|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.logic.op.AsOf
public class AsOf
The AsOf operator works with a date object to test whether an expression will yield result after a certain date position
Example:
- logicService.parse("'CD4 COUNT'").asOf(Context.getDateformat().parse("2009/12/04");
The above will give us a criteria to check if there's "CD4 COUNT" observations as of 12/04/2009
Field Summary |
---|
Fields inherited from interface org.openmrs.logic.op.Operator |
---|
AFTER, AND, ASOF, AVERAGE, BEFORE, CONTAINS, COUNT, DISTINCT, EQUALS, EXISTS, FIRST, GT, GTE, IN, LAST, LT, LTE, NOT, NOT_EXISTS, OR, WITHIN |
Constructor Summary | |
---|---|
AsOf()
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AsOf()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |