Skip to content

Commit 1267061

Browse files
jodastephensoc
authored andcommitted
Chronology.resolveDate() should be abstract
Fixes #48
1 parent c8e9744 commit 1267061

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

changes.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@
7070
</action>
7171
</release>
7272
<release version="1.3.3" date="SNAPSHOT" description="v1.3.3">
73+
<action dev="jodastephen" type="fix" >
74+
Chronology.resolveDate() should be abstract.
75+
Fixes #48.
76+
</action>
7377
<action dev="kemokid" type="fix" >
7478
Fix HijrahDate aligned-day-of-month field.
7579
Fixes #47.

shared/src/main/scala/org/threeten/bp/chrono/Chronology.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,7 @@ trait Chronology extends Ordered[Chronology] {
667667
* @throws DateTimeException if the date cannot be resolved, typically
668668
* because of a conflict in the input data
669669
*/
670-
def resolveDate(fieldValues: java.util.Map[TemporalField, java.lang.Long], resolverStyle: ResolverStyle): ChronoLocalDate =
671-
throw new UnsupportedOperationException("ThreeTen Backport does not support resolveDate")
670+
def resolveDate(fieldValues: java.util.Map[TemporalField, java.lang.Long], resolverStyle: ResolverStyle): ChronoLocalDate
672671

673672
/** Updates the map of field-values during resolution.
674673
*

0 commit comments

Comments
 (0)