line 161 of DPath.scala (on serialization-with-dpath4 branch), this is an assert checking if a result from an expression is type Calendar.
This probably should be DFDLCalendar, but it's also probably the case that nothing exercises this code path, so we need a test that exercises it to be sure.