Even if this was valid EL code (which it is not), the calendar.get() calls are really confusing when you use numbers with them instead of constants.
I would much prefer the constants as they are easier to read.
I am going to treat this like a java scriptlet expression for the purpose of rewriting.
Calendar.YEAR = 1
Calendar.MONTH = 2
Calendar.DAY_OF_MONTH = 5
Given that, your code would translate as
When you write it like that, it doesn't make much sense. I think maybe you used the wrong fields in the comparision.
Comparing year to 12 - you probably meant month?
And I can't figure out at all what the number 21 has to do with anything...