I'm using hotelbeds API (developer.hotelbeds.com) and I'm getting a date string in a JSON response as follows.
"cancellationPolicies": [
{
"amount": "407.56",
"from": "2016-09-19T23:59:00-04:00"
}
]
Does anyone know what is that "-04:00" means? I already checked the API docs and cannot find anything. I want to parse this date string in to a Date Object in Java, something like this,
Date fromDate = new SimpleDateFormat("pattern").parse("dateTimeString");
Does anyone have an idea?