Un valor constante literal de fecha, del tipo curam.util.type.Date.
El valor de Date se especifica en el formato aaaa-mm-dd.
Las funciones volátiles están prohibidas en CER, porque si el resultado de una función puede cambiar, puede significar que los cálculos realizados previamente son ahora "incorrectos".
<?xml version="1.0" encoding="UTF-8"?> <RuleSet name="Example_Date" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.curamsoftware.com/CreoleRulesSchema.xsd"> <Class name="DateExampleRuleClass"> <Attribute name="nullDate"> <type> <javaclass name="curam.util.type.Date"/> </type> <derivation> <!-- Una fecha nula --> <null/> </derivation> </Attribute> <Attribute name="dateOfBirth"> <type> <javaclass name="curam.util.type.Date"/> </type> <derivation> <!-- La fecha 3 de octubre de 1970 --> <Date value="1970-10-03"/> </derivation> </Attribute> </Class> </RuleSet>