summaryrefslogtreecommitdiffstats
path: root/include/sax
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-11-18 21:07:42 +0100
committerMichael Stahl <mstahl@redhat.com>2016-11-18 22:21:55 +0100
commite5992129905aacf34fad391ec19feeeec83a6714 (patch)
tree6e49fb793d3a09a79e69c912ee6f2c6f1357538b /include/sax
parentThe PDF tests require HAVE_FEATURE_PDFIMPORT (diff)
downloadcore-e5992129905aacf34fad391ec19feeeec83a6714.tar.gz
core-e5992129905aacf34fad391ec19feeeec83a6714.zip
sax: these are for XMLSchema-2 duration/date/dateTime, not "ISO"
ISO 8601 is a little more lenient in its lexical representation. Change-Id: I92834a2a1d3c0c37203c13d17e8ae42a1cfe9e1c
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/tools/converter.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/sax/tools/converter.hxx b/include/sax/tools/converter.hxx
index d30e8b67bf0f..072c3b438d6e 100644
--- a/include/sax/tools/converter.hxx
+++ b/include/sax/tools/converter.hxx
@@ -145,49 +145,49 @@ public:
/** convert SVG angle to number, 10th of degrees with range [0..3600] */
static bool convertAngle(sal_Int16& rAngle, OUString const& rString);
- /** convert double to ISO "duration" string; negative durations allowed */
+ /** convert double to XMLSchema-2 "duration" string; negative durations allowed */
static void convertDuration(OUStringBuffer& rBuffer,
const double fTime);
- /** convert util::Duration to ISO "duration" string */
+ /** convert util::Duration to XMLSchema-2 "duration" string */
static void convertDuration(OUStringBuffer& rBuffer,
const css::util::Duration& rDuration);
- /** convert ISO "duration" string to double; negative durations allowed */
+ /** convert XMLSchema-2 "duration" string to double; negative durations allowed */
static bool convertDuration(double & rfTime,
const OUString& rString);
- /** convert ISO "duration" string to util::Duration */
+ /** convert XMLSchema-2 "duration" string to util::Duration */
static bool convertDuration(css::util::Duration& rDuration,
const OUString& rString);
- /** convert util::Date to ISO "date" string */
+ /** convert util::Date to XMLSchema-2 "date" string */
static void convertDate( OUStringBuffer& rBuffer,
const css::util::Date& rDate,
sal_Int16 const* pTimeZoneOffset);
- /** convert util::DateTime to ISO "date" or "dateTime" string */
+ /** convert util::DateTime to XMLSchema-2 "date" or "dateTime" string */
static void convertDateTime( OUStringBuffer& rBuffer,
const css::util::DateTime& rDateTime,
sal_Int16 const* pTimeZoneOffset,
bool bAddTimeIf0AM = false );
- /** convert util::DateTime to ISO "time" or "dateTime" string */
+ /** convert util::DateTime to XMLSchema-2 "time" or "dateTime" string */
static void convertTimeOrDateTime(OUStringBuffer& rBuffer,
const css::util::DateTime& rDateTime,
sal_Int16 const* pTimeZoneOffset);
- /** convert ISO "date" or "dateTime" string to util::DateTime */
+ /** convert XMLSchema-2 "date" or "dateTime" string to util::DateTime */
static bool parseDateTime( css::util::DateTime& rDateTime,
boost::optional<sal_Int16> * pTimeZoneOffset,
const OUString& rString );
- /** convert ISO "time" or "dateTime" string to util::DateTime */
+ /** convert XMLSchema-2 "time" or "dateTime" string to util::DateTime */
static bool parseTimeOrDateTime(css::util::DateTime& rDateTime,
boost::optional<sal_Int16> * pTimeZoneOffset,
const OUString& rString);
- /** convert ISO "date" or "dateTime" string to util::DateTime or
+ /** convert XMLSchema-2 "date" or "dateTime" string to util::DateTime or
util::Date */
static bool parseDateOrDateTime(
css::util::Date * pDate,