Hi Charles,
The problem is that in 0.12.0, there is no
setLocalDateTimeValue(java.time.LocalDate)
see
https://github.com/tdf/odftoolkit/blob/odftoolkit-0.12.0/odfdom/src/main/java/org/odftoolkit/odfdom/doc/table/OdfTableCell.java
I have the 0.13.0 for review <https://github.com/svanteschubert/odftoolkit>,
and I plan to release it next Friday. I just deployed a 0.13.0-SNAPSHOT with
the same functionality!
BTW 0.13.0 will still support JDK 11 and ODF 1.2.
This time I tested the existence of the 0.13.0-SNAPSHOT release via
command-line calling - due to the sonartype changes, it took several tries
(even though there was never an error message) until the following worked:
mvn dependency:get -Dartifact=org.odftoolkit:odfdom-java:0.13.0-SNAPSHOT
-DremoteRepositories=https://central.sonatype.com/repository/snapshots/
There had been some changes in the Maven configuration. If you like to use
the snapshot release, read:
https://central.sonatype.org/publish/publish-portal-snapshots/#consuming-snapshot-releases-for-your-project
Hope this helps!
Svante
On Mon, 19 Jan 2026 at 18:06, Charles Johnson <cj@technojeeves.com> wrote:
I see in your latest source you have the method:
public OdfTableCell setLocalDateTimeValue(LocalDateTime datetime) {
yet in my project when I use the following Maven dependency
<dependency>
<groupId>org.odftoolkit</groupId>
<artifactId>odfdom-java</artifactId>
<version>0.12.0</version>
</dependency>
I get:
cannot find symbol
[ERROR] symbol: method setLocalDateTimeValue(java.time.LocalDate)
[ERROR] location: class org.odftoolkit.odfdom.doc.table.OdfTableCell
Can you please tell me what I need to get java.time support in my project?
Kind regards,
Charles Johnson
--
TechnoJeeves TechnoJeeves
www.technojeeves.com <http://www.technojeeves.com>
info@technojeeves.com
--
To unsubscribe e-mail to: dev+unsubscribe@odftoolkit.org
Problems?
https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.odftoolkit.org/dev/
Privacy Policy: https://www.documentfoundation.org/privacy
--
To unsubscribe e-mail to: dev+unsubscribe@odftoolkit.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.odftoolkit.org/dev/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.