Skip to content

Commit

Permalink
Update multiple java libs and fix VCardTool bday (#306)
Browse files Browse the repository at this point in the history
Co-authored-by: dippeal <info@dippe-it.de>
  • Loading branch information
dippeal and dippeal authored Aug 27, 2024
1 parent c0109a9 commit 74574e0
Show file tree
Hide file tree
Showing 30 changed files with 18 additions and 51 deletions.
22 changes: 11 additions & 11 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
<classpathentry exported="true" kind="lib" path="lib/activation.jar"/>
<classpathentry exported="true" kind="lib" path="/hibiscus/lib/obantoo-bin-2.1.12.jar"/>
<classpathentry exported="true" kind="lib" path="lib/bsh-core-2.0b4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/csvjdbc.jar"/>
<classpathentry exported="true" kind="lib" path="lib/csvjdbc-1.0.40.jar"/>
<classpathentry exported="true" kind="lib" path="lib/itext-hyph-xml.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jollyday-0.4.7.jar"/>
<classpathentry exported="true" kind="lib" path="lib/joda-time-2.3.jar"/>
<classpathentry exported="true" kind="lib" path="lib/snakeyaml-1.13.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jollyday-0.5.10.jar"/>
<classpathentry exported="true" kind="lib" path="lib/joda-time-2.12.7.jar"/>
<classpathentry exported="true" kind="lib" path="lib/snakeyaml-2.2.jar"/>
<classpathentry exported="true" kind="lib" path="/jameica/lib/swt/win64/swt.jar" sourcepath="/jameica/lib.src/swt/linux/swt.src.zip"/>
<classpathentry exported="true" kind="lib" path="lib/junit-4.8.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javase-3.1.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/junit-4.13.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javase-3.5.3.jar"/>
<classpathentry exported="true" kind="lib" path="lib/core-3.1.0.jar"/>
<classpathentry exported="true" kind="lib" path="/jameica/lib/de_willuhn_ds/de_willuhn_ds.jar"/>
<classpathentry exported="true" kind="lib" path="/hibiscus/lib/super-csv-2.4.0.jar"/>
<classpathentry exported="true" kind="lib" path="/hibiscus/lib/itext-pdfa-5.5.2.jar"/>
<classpathentry exported="true" kind="lib" path="/hibiscus/lib/itextpdf-5.5.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/freemarker-2.3.23.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jackson-core-2.6.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jsoup-1.8.3.jar"/>
<classpathentry kind="lib" path="lib/vinnie-2.0.1.jar"/>
<classpathentry kind="lib" path="lib/ez-vcard-0.10.3.jar"/>
<classpathentry exported="true" kind="lib" path="lib/freemarker-2.3.33.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jackson-core-2.17.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jsoup-1.18.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/vinnie-2.0.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/ez-vcard-0.12.1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
10 changes: 6 additions & 4 deletions junit/src/de/jost_net/JVereinJUnit/VCard/VCardTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.ZoneOffset;

import javax.xml.transform.TransformerException;

Expand Down Expand Up @@ -32,8 +35,8 @@ public void test01() throws IOException, TransformerException
VCard[] vcard = { createVCard(), createVCard() };

// write vCard
File file = new File("john-doe.vcf");
System.out.println("Writing " + file.getName() + "...");
Path file = Paths.get("john-doe.vcf");
System.out.println("Writing " + file.getFileName() + "...");
Ezvcard.write(vcard).version(VCardVersion.V4_0).go(file);
}

Expand Down Expand Up @@ -94,8 +97,7 @@ public static VCard createVCard() throws IOException

vcard.setGeo(37.6, -95.67);

java.util.TimeZone tz = java.util.TimeZone.getTimeZone("America/New_York");
vcard.setTimezone(new Timezone(tz));
vcard.setTimezone(new Timezone(ZoneOffset.ofHours(-5), "America/New_York"));

vcard.setUid(Uid.random());

Expand Down
Binary file added lib/csvjdbc-1.0.40.jar
Binary file not shown.
Binary file removed lib/csvjdbc.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions lib/csvjdbc_info.xml

This file was deleted.

Binary file removed lib/ez-vcard-0.10.3.jar
Binary file not shown.
Binary file added lib/ez-vcard-0.12.1.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions lib/ez-vcard_info.xml

This file was deleted.

Binary file removed lib/freemarker-2.3.23.jar
Binary file not shown.
Binary file added lib/freemarker-2.3.33.jar
Binary file not shown.
Binary file added lib/jackson-core-2.17.2.jar
Binary file not shown.
Binary file removed lib/jackson-core-2.6.1.jar
Binary file not shown.
Binary file removed lib/javase-3.1.0.jar
Binary file not shown.
Binary file added lib/javase-3.5.3.jar
Binary file not shown.
Binary file added lib/joda-time-2.12.7.jar
Binary file not shown.
Binary file removed lib/joda-time-2.3.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions lib/joda-time_info.xml

This file was deleted.

Binary file removed lib/jollyday-0.4.7.jar
Binary file not shown.
Binary file added lib/jollyday-0.5.10.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions lib/jollyday_info.xml

This file was deleted.

Binary file added lib/jsoup-1.18.1.jar
Binary file not shown.
Binary file removed lib/jsoup-1.8.3.jar
Binary file not shown.
Binary file added lib/junit-4.13.2.jar
Binary file not shown.
Binary file removed lib/junit-4.8.1.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions lib/junit_info.xml

This file was deleted.

Binary file removed lib/snakeyaml-1.13.jar
Binary file not shown.
Binary file added lib/snakeyaml-2.2.jar
Binary file not shown.
Binary file removed lib/vinnie-2.0.1.jar
Binary file not shown.
Binary file added lib/vinnie-2.0.2.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/de/jost_net/JVerein/io/VCardTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static VCard[] getVCards(ArrayList<Mitglied> mitglieder)
Date geburtsdatum = m.getGeburtsdatum();
if (!geburtsdatum.equals(Einstellungen.NODATE))
{
Birthday bd = new Birthday(geburtsdatum);
Birthday bd = new Birthday(geburtsdatum.toString());
vcard.setBirthday(bd);
}

Expand Down

0 comments on commit 74574e0

Please sign in to comment.