Time/Data processing

Could someone with an understand of the code help me understand the verification that is performed on dates?

i.e. If a client gives presence information and ‘‘last seen’’ time is any validation performed on that value?

It looks like a particular client is giving badly formatted date information to my Spark client as it’'s reacting by reporting a server connection error and dropping the entire connection. Is this a bug (i,.e. we check the date formatting, but this one is slipping through the net) or do we just not check at all and therefore Java whines about it?