Name Date Size #Lines LOC

..--

android-no-reg/H25-Apr-2025-521410

src/H25-Apr-2025-359291

.gitignoreH A D25-Apr-202552 87

Android.bpH A D25-Apr-20251.2 KiB4944

LICENSEH A D25-Apr-202510 KiB203169

LICENSE.txtH A D25-Apr-2025552 1410

METADATAH A D25-Apr-2025389 1715

MODULE_LICENSE_APACHE2HD25-Apr-20250

NOTICE.txtH A D25-Apr-2025365 86

OWNERSH A D25-Apr-202551 21

README.mdH A D25-Apr-20251.2 KiB5037

pom.xmlH A D25-Apr-20255.3 KiB172171

README.md

1Overview
2========
3jISO8601 is yet another library made to parse dates in Java. It may still be useful since:
4
5* It's trivial to use
6* It's lightweight
7* It's compatible with Android
8* It can parse any date compatible with the norm
9
10
11Getting started
12===============
13
14There are only two public methods:
15
16    import fr.turri.jiso8601.*;
17    ...
18    Calendar cal = Iso8601Deserializer.toCalendar("1985-03-04");
19    Date date = Iso8601Deserializer.toDate("1985-03-04T12:34:56Z");
20
21
22Each type of ISO8601 dates are supported (calendar, ordinal and week dates, basic and extended format)
23as weel as each format of hour and timezone.
24
25Installation
26============
27Using it with maven
28-------------------
29This package will soon be available on maven central. For now it needs to be build from source.
30For instance, on Ubuntu:
31
32    git clone https://github.com/gturri/jiso8601
33    cd jiso8601
34    sudo apt-get install maven
35    mvn install
36
37Then, in your pom.xml, add
38
39```xml
40<dependency>
41    <groupId>fr.turri</groupId>
42    <artifactId>jISO8601</artifactId>
43    <version>0.1</version>
44</dependency>
45```
46
47Out of scope (for now)
48=====================
49Recurring time interval and Periods aren't supported. Feel free to open feature requests.
50