It was published into Bintray JCenter repository.
Motivation
In Java, there are several ways to parse a date-time string with format of ISO 8601. E.g. usingSimpleDateFormat
with format “yyyy-MM-dd'T'HH:mm:ssX
” (Java SE 7 or later), using Date and Time API (JSR 310; Java SE 8 or later), using Joda-Time, or using Apache Commons Lang.On Java SE 6 environments or Android platforms, however, I think there is no way to do so easily. Therefore I made this library.
Supporting format
Currently, only combined date and time representations with extended format are supported.- 2016-01-01T00:30:21Z
- 2016-01-01T09:30:21+09:00