incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guzman Rejon (JIRA)" <>
Subject [jira] [Created] (ODFTOOLKIT-373) metadata.setEditingDuration
Date Mon, 26 Aug 2013 17:55:51 GMT
Guzman Rejon created ODFTOOLKIT-373:

             Summary: metadata.setEditingDuration 
                 Key: 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:

View raw message