Marshaller must use an adapter when marshalling calendar instances when logging errors