Skip to content

Commit 31562ec

Browse files
authored
Update README.md
1 parent 9a67730 commit 31562ec

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Although the new JSR-310 (built in Java 8) is certainly a very useful library fo
1313
Current state and introduction:
1414
-------------------------------
1515

16-
On 2020-05-31, the version v5.6 of Time4J has been finished and released. It requires at least Java-8. The older version lines v3.x and v4.x have reached end-of-life with the latest versions v3.50 and v4.38 where v3.x is based on Java 6+7. The previous version lines v1.x and v2.x are no longer recommended (due to several backward incompatibilities) and have reached end-of-life, too. Time4J is organized in modules. The module **time4j-base** is always necessary. Other modules are optional and include:
16+
On 2020-09-13, the version v5.7 of Time4J has been finished and released. It requires at least Java-8. The older version lines v3.x and v4.x have reached end-of-life with the latest versions v3.50 and v4.38 where v3.x is based on Java 6+7. The previous version lines v1.x and v2.x are no longer recommended (due to several backward incompatibilities) and have reached end-of-life, too. Time4J is organized in modules. The module **time4j-base** is always necessary. Other modules are optional and include:
1717

1818
- **time4j-sqlxml** contains a simple adapter for the support of SQL-databases.
1919
- **time4j-tzdata** encapsulates the time zone repository (independent github-project starting with version 5.0-2018f)
@@ -123,7 +123,7 @@ d) **Temporal arithmetic**: Another way of manipulation is date/time-arithmetic
123123

124124
e) **Global versus local**: Time4J rejects the design idea of JSR-310 to separate between "machine time" and "human time". This is considered as artificial. So all four basic types offer both aspects in one. For example a calendar date is simultaneously a human time consisting of several meaningful elements like year, month etc. and also a kind of machine or technical time counter because you can define a single incrementing number represented by julian days. In a similar way a UTC-moment has both a technical counter (the number of SI-seconds since UTC-epoch) AND a human representation visible in its canonical output produced by `toString()`-method (example: 2014-04-21T19:45:30Z). However, Time4J emphasizes the difference between local and global types. Conversion between these types always require a timezone or an offset.
125125

126-
f) **Internationalization**: Time4J defines its own i18n-resources for many languages (**95 languages in version 5.6**) in order to defend its i18n-behaviour against poor or insufficient platform resources (which only serve as fallback). Especially localized formatting of durations is not a supported feature on any platform, so Time4J fills an important gap.
126+
f) **Internationalization**: Time4J defines its own i18n-resources for many languages (**95 languages in version 5.7**) in order to defend its i18n-behaviour against poor or insufficient platform resources (which only serve as fallback). Especially localized formatting of durations is not a supported feature on any platform, so Time4J fills an important gap.
127127

128128
g) **Powerful format engine**: The built-in format engine located in format/expert-package offers overwhelmingly many features, general interfaces for customization and outstanding parsing performance (better than in Joda-Time or JSR-310).
129129

@@ -138,7 +138,7 @@ Support for alternative calendars:
138138
- French revolutionary
139139
- Hebrew (including support for Hebrew time)
140140
- Hijri (Islamic) with a lot of customizable variants
141-
- Hindu (old solar + old lunar)
141+
- Hindu (based on algorithms by Dershowitz/Reingold)
142142
- Historic christian (includes british, byzantine, swedish etc.)
143143
- Indian national (Saka)
144144
- Japanese (including lunisolar part since AD 701)
@@ -165,12 +165,12 @@ Add these dependencies to your pom-file (typical setup):
165165
<dependency>
166166
<groupId>net.time4j</groupId>
167167
<artifactId>time4j-base</artifactId>
168-
<version>5.6</version>
168+
<version>5.7</version>
169169
</dependency>
170170
<dependency>
171171
<groupId>net.time4j</groupId>
172172
<artifactId>time4j-sqlxml</artifactId>
173-
<version>5.6</version>
173+
<version>5.7</version>
174174
</dependency>
175175
<dependency>
176176
<groupId>net.time4j</groupId>
@@ -185,7 +185,8 @@ Then make sure that the very first usage of Time4J-code starts with the followin
185185
TZDATA.init();
186186
```
187187

188-
The last step is only necessary for OSGi or module path environments (Java 9+) provided that the timezone repository should be used instead of platform zone rules. This special initialization can be left out if Time4J is run on the traditional classpath (for example Java 8).
188+
The last step is only necessary for module path environments (Java 9+) provided that the timezone repository should be used instead of platform zone rules. This special initialization can be left out if Time4J is run on the traditional classpath (for example Java 8). Users are also asked to set following system property
189+
in OSGi-environments: &quot;-Dnet.time4j.base.useClassloaderOnly=true&quot;.
189190

190191
Please also read the installation notes on Time4J-tutorial.
191192

0 commit comments

Comments
 (0)