Niek Knijnenburg

blaze date year function in decision tree

Discussion created by Niek Knijnenburg on Jan 16, 2012
Latest reply on Jan 17, 2012 by Jostein Ulseth

If I use a java.util.Date property as a condition in a decision-tree, I can use theDate.year function, it's one of the templates provided.

If I use a blaze-date ( then the template for date.year is not provided, although the class has a year property and it's working fine in SRL.

If I code SRL manually with:

blazeDate.year = 2012


that compiles fine.


Is there a way to also have the year templates in a decision-tree?


(I don't want to do this on the java.util.Date, because that returns 112 for year 2012)