Guzman Rejon created ODFTOOLKIT-373:
---------------------------------------

             Summary: metadata.setEditingDuration 
                 Key: ODFTOOLKIT-373
                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-373
             Project: ODF Toolkit
          Issue Type: Bug
          Components: odfdom
    Affects Versions: 0.5-incubating
         Environment: Windows 7
            Reporter: Guzman Rejon


I want to change the time duration with the instructions:

DatatypeFactory aFactory = DatatypeFactory.newInstance();
metadata.setEditingDuration(new Duration(aFactory.newDurationDayTime(true, 1, 
1, 1, 1)));

and when I want to retrieve the values ​​get:

metadata.getEditingDuration().getValue().toString() return "PT0.020S"

thanks in advance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to