This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/sis.git
from 485bf63bb3 Merge branch 'geoapi-3.1'. This commit contains one incompatible change: the `org.opengis.referencing.datum.PixelInCell` code list has been replaced by the `org.apache.sis.coverage.grid.PixelInCell` enumeration, except in `ImageDatum`. This is in preparation for the code list removal from ISO 19111:2019. add ec217ec278 Updates for changes in GeoAPI 4 development branch. The largest change is the replacement of `java.util.Date` by `java.time.temporal.Temporal` in the `TemporalDatum.origin` property. That change has large impact in the whole code base, because of cascading changes in WKT, GML, ISO 19115 metadata, data stores, etc. Other changes are removal of `org.opengis.geometry.coordinate.Position` interface (not anymore part of the ISO 19107:2019 standard) and addition of `DatumEns [...] add 76bddb705e Introduce a `java.util.Date` subclass as a wrapper around a `Temporal` for situation where we have to mix legacy date API with new time API. Opportunistically move time constants to the `Constants` class. add 269d8e9759 Merge branch 'geoapi-4.0' into geoapi-3.1 new c1009799e7 Merge branch 'geoapi-3.1'. This is mostly about changing the type of `TemporalDatum.origin` to `java.time`, at least internally. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../main/org/apache/sis/console/AboutCommand.java | 4 +- .../apache/sis/feature/FeatureMemoryBenchmark.java | 4 +- .../test/org/apache/sis/filter/PeriodLiteral.java | 8 +- .../org/apache/sis/filter/TemporalFilterTest.java | 2 +- .../sis/metadata/iso/acquisition/DefaultEvent.java | 34 +- .../sis/metadata/iso/acquisition/package-info.java | 2 +- .../metadata/iso/citation/DefaultCitationDate.java | 55 ++- .../sis/metadata/iso/citation/package-info.java | 2 +- .../metadata/iso/extent/DefaultTemporalExtent.java | 101 +++-- .../apache/sis/metadata/iso/extent/Extents.java | 131 ++++--- .../sis/metadata/iso/legacy/TemporalToDate.java | 13 +- .../metadata/iso/lineage/DefaultProcessStep.java | 4 +- .../maintenance/DefaultMaintenanceInformation.java | 4 +- .../sis/metadata/privy/ImplementationHelper.java | 2 +- .../sis/pending/temporal/TemporalUtilities.java | 50 ++- .../org/apache/sis/xml/bind/gml/TM_Primitive.java | 33 +- .../apache/sis/xml/bind/gml/TemporalAdapter.java | 67 ++++ .../apache/sis/xml/bind/gml/TimePeriodBound.java | 1 + .../sis/xml/bind/gml/UniversalTimeAdapter.java | 2 +- .../org/apache/sis/xml/privy/XmlUtilities.java | 33 +- .../sis/metadata/iso/extent/DefaultExtentTest.java | 25 +- .../iso/extent/DefaultTemporalExtentTest.java} | 43 +-- .../apache/sis/xml/bind/gml/TimePeriodTest.java | 31 +- .../apache/sis/xml/bind/lan/LanguageCodeTest.java | 2 +- .../org/apache/sis/xml/privy/XmlUtilitiesTest.java | 14 +- .../referencing/gazetteer/AbstractLocation.java | 6 +- .../sis/referencing/gazetteer/LocationFormat.java | 17 +- .../gazetteer/MilitaryGridReferenceSystem.java | 2 +- .../sis/referencing/gazetteer/SimpleLocation.java | 3 +- .../gazetteer/GeohashReferenceSystemTest.java | 2 +- .../gazetteer/MilitaryGridReferenceSystemTest.java | 2 +- .../org/apache/sis/geometry/CoordinateFormat.java | 20 +- .../main/org/apache/sis/io/wkt/Element.java | 5 +- .../main/org/apache/sis/io/wkt/Formatter.java | 52 ++- .../apache/sis/io/wkt/GeodeticObjectParser.java | 17 +- .../main/org/apache/sis/io/wkt/WKTFormat.java | 2 +- .../main/org/apache/sis/referencing/CommonCRS.java | 26 +- .../sis/referencing/GeodesicsOnEllipsoid.java | 4 +- .../apache/sis/referencing/GeodeticCalculator.java | 48 +-- .../sis/referencing/crs/DefaultTemporalCRS.java | 19 +- .../sis/referencing/datum/BursaWolfParameters.java | 16 +- .../referencing/datum/DefaultGeodeticDatum.java | 10 +- .../referencing/datum/DefaultTemporalDatum.java | 77 ++-- .../sis/referencing/datum/TimeDependentBWP.java | 42 ++- .../factory/ConcurrentAuthorityFactory.java | 6 +- .../factory/MultiAuthoritiesFactory.java | 2 + .../sis/referencing/factory/ReferenceKeeper.java | 4 +- .../referencing/factory/sql/EPSGDataAccess.java | 23 +- .../sis/referencing/factory/sql/EPSGInstaller.java | 4 +- .../org/apache/sis/referencing/internal/Epoch.java | 4 +- .../operation/CoordinateOperationFinder.java | 39 +- .../sis/referencing/privy/ExtentSelector.java | 23 +- .../org/apache/sis/referencing/privy/Formulas.java | 9 - .../referencing/privy/GeodeticObjectBuilder.java | 11 +- .../sis/referencing/privy/TemporalAccessor.java | 4 +- .../test/org/apache/sis/io/wkt/ElementTest.java | 6 +- .../sis/io/wkt/GeodeticObjectParserTest.java | 9 +- .../org/apache/sis/referencing/CommonCRSTest.java | 30 +- .../referencing/crs/DefaultTemporalCRSTest.java | 10 +- .../referencing/datum/BursaWolfParametersTest.java | 5 +- .../datum/DefaultTemporalDatumTest.java | 25 +- .../sis/referencing/datum/HardCodedDatum.java | 8 +- .../referencing/datum/TimeDependentBWPTest.java | 21 +- .../factory/ConcurrentAuthorityFactoryTest.java | 2 +- .../internal/ServicesForMetadataTest.java | 41 +-- .../operation/CoordinateOperationFinderTest.java | 3 +- .../projection/MercatorMethodComparison.java | 2 +- .../operation/projection/ProjectionBenchmark.java | 5 +- .../sis/referencing/privy/ExtentSelectorTest.java | 10 +- .../apache/sis/referencing/privy/FormulasTest.java | 8 - .../apache/sis/test/integration/MetadataTest.java | 4 +- .../apache/sis/storage/landsat/MetadataReader.java | 10 +- .../sis/storage/geotiff/ImageFileDirectory.java | 2 +- .../sis/storage/geotiff/reader/CRSBuilder.java | 1 + .../apache/sis/storage/netcdf/MetadataReader.java | 12 +- .../apache/sis/storage/netcdf/base/AxisType.java | 3 +- .../apache/sis/storage/netcdf/base/CRSBuilder.java | 5 +- .../apache/sis/storage/netcdf/base/Convention.java | 3 +- .../apache/sis/storage/netcdf/base/Decoder.java | 25 +- .../sis/storage/netcdf/base/GridMapping.java | 7 +- .../org/apache/sis/storage/netcdf/base/HYCOM.java | 8 +- .../apache/sis/storage/netcdf/base/Variable.java | 3 +- .../sis/storage/netcdf/classic/ChannelDecoder.java | 40 +- .../sis/storage/netcdf/ucar/DecoderWrapper.java | 13 +- .../sis/storage/netcdf/base/DecoderTest.java | 21 +- .../apache/sis/storage/netcdf/base/TestCase.java | 12 +- .../sis/storage/sql/feature/ValueGetter.java | 10 +- .../sis/storage/xml/stream/StaxStreamReader.java | 2 +- .../sis/storage/AbstractGridCoverageResource.java | 4 +- .../org/apache/sis/storage/base/LegalSymbols.java | 2 +- .../apache/sis/storage/base/MetadataBuilder.java | 39 +- .../main/org/apache/sis/storage/csv/Store.java | 7 +- .../org/apache/sis/storage/csv/TimeEncoding.java | 27 +- .../sis/storage/test/CoverageReadConsistency.java | 4 +- .../main/org/apache/sis/io/CompoundFormat.java | 2 +- .../main/org/apache/sis/measure/RangeFormat.java | 6 +- .../org/apache/sis/measure/UnitNames.properties | 1 + .../org/apache/sis/measure/UnitNames_fr.properties | 1 + .../main/org/apache/sis/measure/Units.java | 50 ++- .../sis/pending/jdk/{JDK17.java => JDK23.java} | 20 +- .../main/org/apache/sis/setup/About.java | 2 +- .../apache/sis/util/logging/MonolineFormatter.java | 2 +- .../main/org/apache/sis/util/privy/Constants.java | 48 +++ .../org/apache/sis/util/privy/DoubleDouble.java | 11 + .../apache/sis/util/privy/StandardDateFormat.java | 120 +----- .../org/apache/sis/util/privy/TemporalDate.java | 236 ++++++++++++ .../main/org/apache/sis/util/resources/Errors.java | 408 ++++++++++----------- .../org/apache/sis/measure/RangeFormatTest.java | 2 +- .../org/apache/sis/measure/UnitFormatTest.java | 1 + .../test/org/apache/sis/test/TestUtilities.java | 15 +- .../org/apache/sis/util/collection/CacheTest.java | 4 +- .../apache/sis/util/collection/RangeSetTest.java | 4 +- .../org/apache/sis/util/privy/ConstantsTest.java} | 27 +- .../sis/util/privy/StandardDateFormatTest.java | 18 +- .../main/org/apache/sis/gui/map/MapCanvas.java | 2 +- .../sis/gui/metadata/IdentificationInfo.java | 9 +- .../apache/sis/gui/referencing/AuthorityCodes.java | 6 +- 117 files changed, 1522 insertions(+), 1088 deletions(-) create mode 100644 endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/gml/TemporalAdapter.java copy endorsed/src/{org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/UnitConversionTest.java => org.apache.sis.metadata/test/org/apache/sis/metadata/iso/extent/DefaultTemporalExtentTest.java} (52%) copy endorsed/src/org.apache.sis.util/main/org/apache/sis/pending/jdk/{JDK17.java => JDK23.java} (63%) create mode 100644 endorsed/src/org.apache.sis.util/main/org/apache/sis/util/privy/TemporalDate.java copy endorsed/src/{org.apache.sis.metadata/test/org/apache/sis/metadata/iso/quality/DefaultDomainConsistencyTest.java => org.apache.sis.util/test/org/apache/sis/util/privy/ConstantsTest.java} (56%)