forked from pool/joda-time
Compare commits
12 Commits
54941282f8
...
factory
Author | SHA256 | Date | |
---|---|---|---|
385c7571d1 | |||
3c2d802c89 | |||
a22ab0924a | |||
ae4c9812a7 | |||
c36c460751 | |||
fd4c98cb86 | |||
1699b0a515 | |||
|
bc48ba5536 | ||
dd9f1e640e | |||
dca04b9c14 | |||
42e0cb4128 | |||
|
34ca3e6b7b |
@@ -1,44 +0,0 @@
|
||||
--- joda-time-1.6-src/build.xml 2008-10-28 01:13:44.000000000 +0100
|
||||
+++ joda-time-1.6-src/build.xml 2017-09-19 11:32:14.760904280 +0200
|
||||
@@ -79,6 +79,12 @@
|
||||
<!-- Should Java compilations set the 'optimize' compiler option? -->
|
||||
<property name="compile.optimize" value="true"/>
|
||||
|
||||
+ <!-- Should Java compilations set the 'source' compiler option? -->
|
||||
+ <property name="compile.source" value="1.3"/>
|
||||
+
|
||||
+ <!-- Should Java compilations set the 'target' compiler option? -->
|
||||
+ <property name="compile.target" value="1.3"/>
|
||||
+
|
||||
<!-- Construct compile classpath -->
|
||||
<path id="compile.classpath">
|
||||
<pathelement location="${build.classes}"/>
|
||||
@@ -181,7 +187,8 @@
|
||||
debuglevel="${compile.debuglevel}"
|
||||
deprecation="${compile.deprecation}"
|
||||
optimize="${compile.optimize}"
|
||||
- source="1.3" target="1.3">
|
||||
+ source="${compile.source}"
|
||||
+ target="${compile.target}">
|
||||
<classpath refid="compile.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
@@ -227,7 +234,9 @@
|
||||
destdir="${build.tests}"
|
||||
debug="${compile.debug}"
|
||||
deprecation="${compile.deprecation}"
|
||||
- optimize="${compile.optimize}">
|
||||
+ optimize="${compile.optimize}"
|
||||
+ source="${compile.source}"
|
||||
+ target="${compile.target}">
|
||||
<classpath refid="test.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${build.tests}" filtering="on">
|
||||
@@ -251,6 +260,7 @@
|
||||
author="true"
|
||||
private="false"
|
||||
package="false"
|
||||
+ source="${compile.source}"
|
||||
version="true"
|
||||
use="yes"
|
||||
splitindex="yes"
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4dc645d2ef3c19eebdb388cf22d27fa1c51abcfae87f48f12e2477a91207f92f
|
||||
size 1270950
|
@@ -1,155 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>joda-time</groupId>
|
||||
<artifactId>joda-time</artifactId>
|
||||
<name>Joda time</name>
|
||||
<version>1.6</version>
|
||||
<description>Date and time library to replace JDK date handling.</description>
|
||||
<url>http://joda-time.sourceforge.net</url>
|
||||
<issueManagement>
|
||||
<url>http://sourceforge.net/tracker/?atid=617889&group_id=97367&func=browse</url>
|
||||
</issueManagement>
|
||||
<inceptionYear>2002</inceptionYear>
|
||||
<mailingLists>
|
||||
<mailingList>
|
||||
<name>Joda Interest list</name>
|
||||
<subscribe>https://lists.sourceforge.net/lists/listinfo/joda-interest</subscribe>
|
||||
<unsubscribe>https://lists.sourceforge.net/lists/listinfo/joda-interest</unsubscribe>
|
||||
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=joda-interest</archive>
|
||||
</mailingList>
|
||||
</mailingLists>
|
||||
<developers>
|
||||
<developer>
|
||||
<id>scolebourne</id>
|
||||
<name>Stephen Colebourne</name>
|
||||
<email>scolebourne@joda.org</email>
|
||||
<organization></organization>
|
||||
<roles>
|
||||
<role>Project Lead</role>
|
||||
</roles>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>broneill</id>
|
||||
<name>Brian S O'Neill</name>
|
||||
<email>broneill@users.sourceforge.net</email>
|
||||
<organization></organization>
|
||||
<roles>
|
||||
<role>Senior Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Guy Allard</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Fredrik Borgh</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jeroen van Erp</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Gwyn Evans</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sean Geoghegan</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ashish Katyal</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Antonio Leitao</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Kostas Maistrelis</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Al Major</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Blair Martin</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Julen Parra</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mike Schrag</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Kandarp Shah</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Francois Staes</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Maxim Zhao</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ryan Propper</name>
|
||||
</contributor>
|
||||
</contributors>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache 2</name>
|
||||
<url>http://www.apache.org/licenses/</url>
|
||||
</license>
|
||||
</licenses>
|
||||
<scm>
|
||||
<connection>scm:svn:https://joda-time.svn.sourceforge.net/svnroot/joda-time/trunk/JodaTime/</connection>
|
||||
<url>http://joda-time.svn.sourceforge.net/viewvc/joda-time/trunk/JodaTime/</url>
|
||||
</scm>
|
||||
<organization>
|
||||
<name>Joda.org</name>
|
||||
<url>http://www.joda.org</url>
|
||||
</organization>
|
||||
<build>
|
||||
<sourceDirectory>src/java</sourceDirectory>
|
||||
<testSourceDirectory>src/test</testSourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${basedir}/target/classes</directory>
|
||||
<includes>
|
||||
<include>org/joda/time/tz/data/**</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<targetPath>META-INF</targetPath>
|
||||
<directory>.</directory>
|
||||
<includes>
|
||||
<include>NOTICE.txt</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>${basedir}/src/testdata</directory>
|
||||
<includes>
|
||||
<include>*.dat</include>
|
||||
</includes>
|
||||
</testResource>
|
||||
</testResources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>org/joda/time/**/TestAll.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>default</id>
|
||||
<name>Default Repository</name>
|
||||
<url>file://home/groups/j/jo/joda-time/htdocs/repository</url>
|
||||
</repository>
|
||||
<site>
|
||||
<id>default</id>
|
||||
<name>Default Site</name>
|
||||
<url>scp://shell.sourceforge.net//home/groups/j/jo/joda-time/htdocs/</url>
|
||||
</site>
|
||||
<status>converted</status>
|
||||
</distributionManagement>
|
||||
</project>
|
192
joda-time-build.xml
Normal file
192
joda-time-build.xml
Normal file
@@ -0,0 +1,192 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project name="joda-time" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="build.properties"/>
|
||||
|
||||
<property name="project.version" value="[UNKNOWN]"/>
|
||||
<property name="project.spec.version" value="[UNKNOWN]"/>
|
||||
<property name="project.groupId" value="joda-time"/>
|
||||
<property name="project.artifactId" value="joda-time"/>
|
||||
<property name="build.finalName" value="${ant.project.name}-${project.version}"/>
|
||||
<property name="build.dir" value="target"/>
|
||||
<property name="build.outputDir" value="${build.dir}/classes"/>
|
||||
<property name="build.srcDir.0" value="src/main/java"/>
|
||||
<property name="build.resourceDir.0" value="."/>
|
||||
<property name="build.resourceDir.1" value="src/main/java"/>
|
||||
|
||||
<property name="source.tz" value="${build.srcDir.0}/org/joda/time/tz/src"/>
|
||||
<property name="build.tz" value="${build.outputDir}/org/joda/time/tz/data"/>
|
||||
|
||||
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
||||
|
||||
<property name="repo.local" value="${user.home}/.m2/repository"/>
|
||||
|
||||
<property name="compiler.source" value="1.8"/>
|
||||
<property name="compiler.target" value="${compiler.source}"/>
|
||||
|
||||
<property name="joda-convert.jar" value="lib/joda-convert.jar"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${joda-convert.jar}"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${build.outputDir}"/>
|
||||
<javac destdir="${build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="${compiler.target}"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="${compiler.source}">
|
||||
<src>
|
||||
<pathelement location="${build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<mkdir dir="${build.outputDir}/META-INF"/>
|
||||
<copy todir="${build.outputDir}/META-INF">
|
||||
<fileset dir="${build.resourceDir.0}">
|
||||
<include name="LICENSE.txt"/>
|
||||
<include name="NOTICE.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${build.outputDir}">
|
||||
<fileset dir="${build.resourceDir.1}">
|
||||
<include name="**/*.properties"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Timezone data compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tzdb" depends="compile" description="Compile timezone data files">
|
||||
<!-- Invoke the newly built ZoneInfoCompiler to compile the zoneinfo data files -->
|
||||
<mkdir dir="${build.outputDir}/org/joda/time/tz/data"/>
|
||||
<java classname="org.joda.time.tz.ZoneInfoCompiler"
|
||||
fork="true"
|
||||
failonerror="true">
|
||||
<classpath path="${build.outputDir}"/>
|
||||
<!-- Override default provider since data directory doesn't exist yet -->
|
||||
<sysproperty key="org.joda.time.DateTimeZone.Provider"
|
||||
value="org.joda.time.tz.UTCProvider"/>
|
||||
<!-- Specify source and destination directories -->
|
||||
<arg value="-src"/>
|
||||
<arg value="${build.srcDir.0}/org/joda/time/tz/src"/>
|
||||
<arg value="-dst"/>
|
||||
<arg line="${build.outputDir}/org/joda/time/tz/data"/>
|
||||
<!-- Specify all the data files to compile -->
|
||||
<arg value="africa"/>
|
||||
<arg value="antarctica"/>
|
||||
<arg value="asia"/>
|
||||
<arg value="australasia"/>
|
||||
<arg value="europe"/>
|
||||
<arg value="northamerica"/>
|
||||
<arg value="southamerica"/>
|
||||
<!--arg value="pacificnew"/-->
|
||||
<arg value="etcetera"/>
|
||||
<arg value="factory"/>
|
||||
<arg value="backward"/>
|
||||
<arg value="backzone"/>
|
||||
<!--arg value="systemv"/-->
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
source="${compiler.source}"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
linksource="false"
|
||||
breakiterator="false">
|
||||
<!--group title="User packages"/>
|
||||
<group title="Implementation packages"/-->
|
||||
<classpath refid="build.classpath"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile-tzdb" description="Package the application">
|
||||
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${build.outputDir}"
|
||||
manifest="src/conf/MANIFEST.MF"
|
||||
excludes="**/package.html">
|
||||
<manifest>
|
||||
<attribute name="Implementation-Title" value="org.joda.time"/>
|
||||
<attribute name="Automatic-Module-Name" value="org.joda.time"/>
|
||||
<attribute name="Bundle-License" value="Apache 2.0"/>
|
||||
<attribute name="Package" value="org.joda..time"/>
|
||||
<attribute name="Bundle-SymbolicName" value="${project.artifactId}"/>
|
||||
<attribute name="Implementation-Version" value="${project.version}"/>
|
||||
<attribute name="Specification-Vendor" value="Joda.org"/>
|
||||
<attribute name="Bundle-ManifestVersion" value="2"/>
|
||||
<attribute name="Specification-Title" value="Joda-Time"/>
|
||||
<attribute name="Implementation-Vendor-Id" value="org.joda"/>
|
||||
<attribute name="Bundle-Vendor" value="Joda.org"/>
|
||||
<attribute name="Bundle-DocURL" value="https://www.joda.org/joda-time/"/>
|
||||
<attribute name="Time-Zone-Database-Version" value="2024agtz"/>
|
||||
<attribute name="Implementation-Vendor" value="Joda.org"/>
|
||||
<attribute name="Export-Package"
|
||||
value="org.joda.time;version=${project.version},org.joda.time.base;version=${project.version},org.joda.time.chrono;version=${project.version},org.joda.time.convert;version=${project.version},org.joda.time.field;version=${project.version},org.joda.time.format;version=${project.version},org.joda.time.tz;version=${project.version}"/>
|
||||
<attribute name="Bundle-Name" value="Joda-Time"/>
|
||||
<attribute name="Bundle-Version" value="${project.version}"/>
|
||||
<attribute name="Extension-Name" value="joda-time"/>
|
||||
<attribute name="Specification-Version" value="${project.spec.version}"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
</project>
|
@@ -1,34 +0,0 @@
|
||||
--- joda-time-1.5.2-src/build.xml.debug 2008-01-26 22:16:33.000000000 +0900
|
||||
+++ joda-time-1.5.2-src/build.xml 2008-03-17 01:55:02.000000000 +0900
|
||||
@@ -127,29 +127,9 @@
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
- <target name="getjunit" unless="junit.present">
|
||||
- <echo message="Getting junit from http://www.ibiblio.org/maven/junit"/>
|
||||
- <setproxy />
|
||||
- <mkdir dir="${lib}"/>
|
||||
- <get dest="${junit.jar}" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar" />
|
||||
- </target>
|
||||
-
|
||||
-<!-- ====================================================================== -->
|
||||
-
|
||||
- <target name="installjunit" unless="junit.ant">
|
||||
- <echo message="Installing junit in ${ant.home}/lib"/>
|
||||
- <copy file="${junit.jar}" todir="${ant.home}/lib" />
|
||||
- <echo message="***************************************************************"/>
|
||||
- <echo message="* A copy of junit has been installed in your ant directory *"/>
|
||||
- <echo message="* *"/>
|
||||
- <echo message="* You will need to restart the ant build to pickup the change *"/>
|
||||
- <echo message="***************************************************************"/>
|
||||
- <fail message="Please restart ant"/>
|
||||
- </target>
|
||||
-
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
- <target name="prepare" depends="init,getjunit,installjunit"
|
||||
+ <target name="prepare" depends="init"
|
||||
description="Prepare build directory">
|
||||
<mkdir dir="${build}"/>
|
||||
<mkdir dir="${build.classes}"/>
|
||||
|
@@ -1,3 +1,189 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 14:12:43 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Upgrade to version 2.12.7
|
||||
* Update time zone data to 2024agtz
|
||||
- Upgrade to version 2.12.6
|
||||
* Enhance DateTimeZone.forID() to better match java.time. Fixes
|
||||
#733, #717.
|
||||
* Better error message in DateTimeFormat. Fixes #731.
|
||||
* DateTimeZone data updated to version 2023dgtz.
|
||||
- Upgrade to version 2.12.5
|
||||
* DateTimeZone data updated to version 2023cgtz.
|
||||
- Upgrade to version 2.12.4
|
||||
* DateTimeZone data updated to version 2023bgtz.
|
||||
- Upgrade to version 2.12.3
|
||||
* DateTimeZone data updated to version 2023agtz.
|
||||
- Upgrade to version 2.12.2
|
||||
* DateTimeZone data updated to version 2022ggtz.
|
||||
- Upgrade to version 2.12.1
|
||||
* Add/fix translations for iw, sq.
|
||||
* DateTimeZone data updated to version 2022fgtz.
|
||||
- Upgrade to version 2.12.0
|
||||
* Add translations for ca, el, eu, fi, hi, hu, in, iw, ms, nn,
|
||||
ro, sk, sv, zh.
|
||||
* DateTimeZone data updated to version 2022egtz.
|
||||
- Upgrade to version 2.11.2
|
||||
* DateTimeZone data updated to version 2022dgtz.
|
||||
* Switch LGTM to CodeQL.
|
||||
- Upgrade to version 2.11.1
|
||||
* Update build scripts and fix static analysis warnings.
|
||||
* Switch master to main.
|
||||
* DateTimeZone data updated to version 2022cgtz.
|
||||
- Upgrade to version 2.11.0
|
||||
* Change DateTimeZone to use
|
||||
'org.joda.time.DateTimeZone.Timezone' instead of
|
||||
'user.timezone'. This change causes Joda-Time to query
|
||||
'TimeZone.getDefault()' in most cases. In most cases this
|
||||
change will have no effect on application code, as
|
||||
'user.timezone' will be picked up by 'TimeZone.getDefault()'
|
||||
instead. If you specifically need to stop Joda-Time calling
|
||||
'TimeZone.getDefault()' then you will need to change to use the
|
||||
new system property 'org.joda.time.DateTimeZone.Timezone'.
|
||||
Fixes #587.
|
||||
* Avoid using == on objects. Fixes #581.
|
||||
* DateTimeZone data updated to version 2022bgtz. This uses the
|
||||
new global-tz project that reinstates all the data removed by
|
||||
IANA's TZDB. See
|
||||
https://github.com/JodaOrg/joda-time/issues/566
|
||||
- Upgrade to version 2.10.14
|
||||
* DateTimeZone data updated to version 2022agtz. This uses the
|
||||
new global-tz project that reinstates all the data removed by
|
||||
IANA's TZDB. See
|
||||
https://github.com/JodaOrg/joda-time/issues/566
|
||||
- Upgrade to version 2.10.13
|
||||
* DateTimeZone data updated to version 2021efork. See
|
||||
https://github.com/JodaOrg/joda-time/issues/566
|
||||
- Upgrade to version 2.10.12
|
||||
* DateTimeZone data updated to version 2021bfork3. See
|
||||
https://github.com/JodaOrg/joda-time/issues/566
|
||||
- Upgrade to version 2.10.11
|
||||
* Defend against possible release of hugely damaging timezone
|
||||
data. See https://github.com/JodaOrg/joda-time/issues/566
|
||||
- Upgrade to version 2.10.10
|
||||
* DateTimeZone data updated to version 2021a.
|
||||
- Upgrade to version 2.10.9
|
||||
* DateTimeZone data updated to version 2020e. Fix to time-zone
|
||||
compiler.
|
||||
- Upgrade to version 2.10.8
|
||||
* DateTimeZone data updated to version 2020d. Remove systemv and
|
||||
pacificnew time zones as per TZDB changes.
|
||||
- Upgrade to version 2.10.7
|
||||
* DateTimeZone data updated to version 2020c. Remove systemv and
|
||||
pacificnew time zones as per TZDB changes.
|
||||
* Better error message for year-month-day. Fixes #540.
|
||||
* Fix localization for Russia. Fixes #533.
|
||||
- Upgrade to version 2.10.6
|
||||
* DateTimeZone data updated to version 2020a.
|
||||
* Add localization for Ukraine. Fixes #523.
|
||||
- Upgrade to version 2.10.5
|
||||
* Updated Joda-Convert version.
|
||||
- Upgrade to version 2.10.4
|
||||
* DateTimeZone data updated to version 2019c.
|
||||
- Upgrade to version 2.10.3
|
||||
* DateTimeZone data updated to version 2019b.
|
||||
- Remove patch:
|
||||
* joda-time-fix-tests.patch
|
||||
+ not needed anymore
|
||||
- Add JPMS and OSGI metadata to the manifest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 13:51:02 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 17:21:42 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with java source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 6 12:28:46 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to version 2.10.1
|
||||
* Fix time-zone compiler for Namibia. Fixes #485.
|
||||
* Fix time-zone compiler for Tokyo.
|
||||
* Handle negative SAVE values in tzdb.
|
||||
* Add Instant.EPOCH. See #472.
|
||||
* Clarify negative durations. See #465.
|
||||
* Add Instant.ofEpochMilli(). Add Instant.ofEpochSecond().
|
||||
Fixes #458.
|
||||
* Add automatic module name for Java SE 9.
|
||||
* Add Kazakh language translations. Fixes #446
|
||||
* Avoid double addition when using lenient chronology. Fixes #432.
|
||||
* Clarify Period.fieldDifference() Javadoc.
|
||||
* Clarify Instant.withMillis() Javadoc. Fixes jodaorg.github.io#5
|
||||
* Add ZoneInfoProvider() constructor.
|
||||
* Optimise release process.
|
||||
* DateTimeZone data updated to version 2017b.
|
||||
* Handle plus/minus of Integer.MIN_VALUE/MAX_VALUE months
|
||||
correctly. Fixes #418.
|
||||
* Clarify time fields are based on the local time-line.
|
||||
Fixes #415.
|
||||
* Fix spelling mistakes. Fixes #412.
|
||||
* Fix DateTimePrinterInternalPinter that outputs data twice.
|
||||
Fixes #409.
|
||||
* Support conversion of old TimeZone where name has digits other
|
||||
than ASCII [#381]
|
||||
* Add Norwegian period translations [#378]
|
||||
* Add Duration.dividedBy(long,RoundingMode) [#69, #379]
|
||||
* Fixed bug where clock read twice when comparing two nulls in
|
||||
DateTimeComparator [#404]
|
||||
* Fixed minor issues with historic time-zone data [#373]
|
||||
* Fix bug in time-zone binary search [#332, #386] The fix in
|
||||
v2.9.2 caused problems when the time-zone being parsed was not
|
||||
the last element in the input string. New approach uses a
|
||||
different approach to the problem.
|
||||
* Update tests for JDK 9 [#394]
|
||||
* Close buffered reader correctly in zone info compiler [#396]
|
||||
* Handle locale correctly zone info compiler [#397]
|
||||
* Loading time-zone provider now occurs in a privileged block
|
||||
[#327, #375]
|
||||
* Make DateTimeUtils.SYSTEM_MILLIS_PROVIDER public [#357]
|
||||
* Fix bug when adding months at the maximum limits of integer
|
||||
[#361]
|
||||
* Add Turkish period translations [#364]
|
||||
* Fix bug in time-zone binary search [#332]
|
||||
* Minor fixes to code internals [#339, #326, #344, #350, #343]
|
||||
* Better document behaviour [#325]
|
||||
* Fix bug introduced by Long.MIN_VALUE and Long.MAX_VALUE changes
|
||||
[#328]
|
||||
* Faster parsing of time-zone identifiers [#282]
|
||||
* Added Interval.parseWithOffset(String) [#299, #296] Provides a
|
||||
way to parse the fixed offset in an interval string
|
||||
* Add DateTimeFormatter methods for StringBuilder [#298]
|
||||
* Add Russian period translations [#320]
|
||||
* Add Italian period translations [#312]
|
||||
* Add Czech period translations [#313]
|
||||
* Clarify that PeriodFormatterBuilder is in an invalid state once
|
||||
built [#309]
|
||||
* Allow DateTime and Interval to refer to values at Long.MIN_VALUE
|
||||
and Long.MAX_VALUE [#297, #190] A DateTime may be created with
|
||||
any millisecond value, however at the very edges there may be
|
||||
some undesirable effects, for example always using UTC instead
|
||||
of the time-zone
|
||||
* Better error message for malformed tzdb files [#319]
|
||||
* Better error message for interval constructor [#321]
|
||||
* Fixed to handle JDK 8u60 [#288, #291] Without this fix,
|
||||
formatting a time-zone will print "+00:00" instead of "GMT" for
|
||||
the GMT time-zone
|
||||
* Fix parsing of basic form ISO style where year has unnecessary
|
||||
plus sign [#86] For example, +20151030 will now be correctly
|
||||
parsed as year 2015.
|
||||
* Fix overflow bug in intervals [#315]
|
||||
- Removed patches:
|
||||
* joda-time-1.6-sourcetarget.patch
|
||||
+ correct source and target levels specified in the ant
|
||||
build.xml file
|
||||
* joda-time-use-system-junit.patch
|
||||
+ not needed any more, since we are not running tests for the
|
||||
while
|
||||
- Added patch:
|
||||
+ joda-time-fix-tests.patch
|
||||
+ fix java version parsing for versions > 9
|
||||
- DateTimeZone data updated to version 2018i
|
||||
- Add build.xml file to allow build with ant
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 17:20:45 UTC 2018 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package joda-time
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,26 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%define tzversion tzdata2010h
|
||||
%global spec_version 2.12
|
||||
%global tzversion tzdata2024a
|
||||
Name: joda-time
|
||||
Version: 1.6
|
||||
Version: %{spec_version}.7
|
||||
Release: 0
|
||||
Summary: Java date and time API
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
Url: http://joda-time.sourceforge.net/index.html
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
|
||||
URL: https://www.joda.org/joda-time/
|
||||
Source0: https://github.com/JodaOrg/%{name}/archive/v%{version}.tar.gz
|
||||
Source1: ftp://ftp.iana.org/tz/releases/%{tzversion}.tar.gz
|
||||
Source2: http://repo.maven.apache.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
||||
Patch0: joda-time-use-system-junit.patch
|
||||
Patch1: joda-time-1.6-sourcetarget.patch
|
||||
Source100: %{name}-build.xml
|
||||
BuildRequires: ant
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel > 1.5.0
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: junit
|
||||
Requires: java > 1.5.0
|
||||
Requires: javapackages-tools
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: joda-convert
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -50,62 +47,52 @@ and parsing.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadocs for %{name}
|
||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
||||
Group: Documentation/HTML
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: javapackages-tools
|
||||
|
||||
%description javadoc
|
||||
This package contains the API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-src
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%setup -q
|
||||
|
||||
dos2unix LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
||||
cp %{SOURCE100} build.xml
|
||||
|
||||
# all java binaries must be removed from the sources
|
||||
find . -name '*.jar' -exec rm -f '{}' \;
|
||||
find . -name '*.class' -exec rm -f '{}' \;
|
||||
|
||||
# prove that these binaries aren't used in building joda-time
|
||||
rm -rf src/testdata/
|
||||
|
||||
# replace internal tzdata
|
||||
rm -f src/java/org/joda/time/tz/src/*
|
||||
tar -xzf %{SOURCE1} -C src/java/org/joda/time/tz/src/
|
||||
rm -f src/main/java/org/joda/time/tz/src/*
|
||||
tar -xzf %{SOURCE1} -C src/main/java/org/joda/time/tz/src/
|
||||
|
||||
%build
|
||||
ant -Dcompile.source=1.6 -Dcompile.target=1.6
|
||||
ant -Dcompile.source=1.6 -Dcompile.target=1.6 javadoc
|
||||
%{ant} \
|
||||
-Dproject.version=%{version} \
|
||||
-Dproject.spec.version=%{spec_version} \
|
||||
-Djoda-convert.jar=%{_javadir}/joda-convert.jar \
|
||||
clean jar javadoc
|
||||
|
||||
%install
|
||||
# jars
|
||||
install -d -m 755 %{buildroot}%{_javadir}
|
||||
install -dm0755 %{buildroot}%{_javadir}
|
||||
# Don't install a versioned jar and symlink to it, instead install
|
||||
# the unversioned jar as per Java Packaging Guidelines
|
||||
install -m 644 build/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
|
||||
install -m0644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
# poms
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -m 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
install -dm0755 %{buildroot}%{_mavenpomdir}
|
||||
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar
|
||||
# javadoc
|
||||
install -dm0755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
# javadocs
|
||||
install -p -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -a build/docs/* %{buildroot}%{_javadocdir}/%{name}
|
||||
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
%files
|
||||
%doc LICENSE.txt RELEASE-NOTES.txt ToDo.txt
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_mavenpomdir}/%{name}.pom
|
||||
%if %{defined _maven_repository}
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
%else
|
||||
%{_datadir}/maven-metadata/%{name}.xml*
|
||||
%endif
|
||||
%files -f .mfiles
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
%doc RELEASE-NOTES.txt
|
||||
|
||||
%files javadoc
|
||||
%doc %{_javadocdir}/%{name}
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a4918d60f63440ba9b6050205881e8a98d718dc0c2b7df5955f43e781eab6e7d
|
||||
size 188402
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02dfde534872f6513ae4553a3388fdae579441e31b862ea99170dfc447f46a16
|
||||
size 366408
|
3
tzdata2024a.tar.gz
Normal file
3
tzdata2024a.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0d0434459acbd2059a7a8da1f3304a84a86591f6ed69c6248fffa502b6edffe3
|
||||
size 451270
|
3
v2.12.7.tar.gz
Normal file
3
v2.12.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:718a369012e7414f16354a4bdc91d04478417c9d3b3080fdac4aba349a036149
|
||||
size 1068044
|
Reference in New Issue
Block a user