gocardless/gocardless-java — pull request #21 by fdearle (2013-11-26 12:14:42+00:00)
Title: The getBill api returns dates in yyyy-MM-dd for customerChargeAt so we n...

When calling the GoCardless.api.getBill() method we were getting an exception to say the date could not be parsed. It turns out we are missing a deserializer for Date. The Deserializer needs to handle the following condidions.

1) A null date in the Json. e.g. { expires_at:null }
2) A full UTC date. e.g. { created_at: 2011-02-18T15:25:58Z }
3) A Short date e.g. { customer_charge_at: 2011-02-18 }