11
11
12
12
<section name =" ThreeTen Backport" >
13
13
<p >
14
- ThreeTen-Backport provides a backport of the JDK 8 date-time classes to JDK 7.
14
+ ThreeTen-Backport provides a backport of the Java SE 8 date-time classes to Java SE 7.
15
15
</p >
16
16
<p >
17
17
The backport is NOT an implementation of JSR-310, as that would require
18
18
jumping through lots of unnecessary hoops.
19
19
Instead, this is a simple backport intended to allow users to quickly
20
- use the JSR-310 API on JDK 7.
20
+ use the JSR-310 API on Java SE 7.
21
21
The backport should be referred to using the "ThreeTen" name.
22
22
</p >
23
23
<p >
@@ -34,18 +34,30 @@ Various documentation is available:
34
34
<li >The <a href =" https://github.com/ThreeTen/threetenbp" >GitHub</a > source repository</li >
35
35
</ul >
36
36
</p >
37
+ <p >
38
+ It should be noted that the API matches that of Java SE 8 except where that is not viable.
39
+ Java SE 8 has default and static methods on interfaces which is simulated in the backport
40
+ by using an abstract class rather than an interface.
41
+ In addition, static query constants are used to simulate method references, for example
42
+ use <code >LocalDate.FROM</code > rather than <code >LocalDate::from</code >.
43
+ </p >
37
44
</section >
38
45
39
46
40
47
<section name =" Releases" >
41
48
<p >
42
49
There are no full releases yet!
43
50
Release 0.8.1 is the current development release intended for feedback.
44
- The code is fully tested, but there may yet be bugs and the API may yet change.
45
- There should be no great reason why it cannot be used in production if you can cope with future API change.
51
+ There should be no great reason why it cannot be used in production at this point.
52
+ </p >
53
+ <p >
54
+ The project runs on Java SE 7 and has no dependencies.
46
55
</p >
47
56
<p >
48
- The project runs on JDK 8 and has no dependencies.
57
+ There are some known issues.
58
+ The Hijrah calendar system does not work.
59
+ Formatting and parsing often depends on data only available in Java SE 8.
60
+ Zone id and text parsing is significantly less powerful.
49
61
</p >
50
62
<p >
51
63
Available in <a href =" http://search.maven.org/#artifactdetails|org.threeten|threetenbp|0.8.1|jar" >Maven Central</a >.
@@ -62,7 +74,7 @@ To suggest enhancements or contribute, please <a href="https://github.com/ThreeT
62
74
Alternatively, use GitHub <a href =" https://github.com/ThreeTen/threetenbp/issues" >issues</a >.
63
75
</p >
64
76
<p >
65
- Note that pull requests and issues will only be considered so far as matching the behaviour of JDK 8.
77
+ Note that pull requests and issues will only be considered so far as matching the behaviour of Java SE 8.
66
78
Additional requested features will be rejected.
67
79
</p >
68
80
<p >
0 commit comments