You are viewing a plain text version of this content. The canonical link for it is here.
Posted to odf-dev@incubator.apache.org by "Svante Schubert (JIRA)" <ji...@apache.org> on 2017/03/05 16:59:32 UTC

[jira] [Closed] (ODFTOOLKIT-358) Add method to set date time value on Cell

     [ https://issues.apache.org/jira/browse/ODFTOOLKIT-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svante Schubert closed ODFTOOLKIT-358.
--------------------------------------

R.I.P.

> Add method to set date time value on Cell
> -----------------------------------------
>
>                 Key: ODFTOOLKIT-358
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-358
>             Project: ODF Toolkit
>          Issue Type: Improvement
>          Components: simple api
>    Affects Versions: 0.6-incubating
>            Reporter: Florian Hopf
>            Assignee: Florian Hopf
>             Fix For: 0.6.1-incubating
>
>
> In Cell there are currently two methods for setting date and time values. The method setDateValue() uses the format yyyy-MM-dd, setTimeValue() uses the format 'PT'HH'H'mm'M'ss'S'.
> According to the ODF specification the date format for office:date-value, which is used in Cell, can either be http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#date or http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#dateTime
> We are missing a method to set a date and time value, we can either set date or time, but not both.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)