diff options
Diffstat (limited to 'include/sax/tools')
-rw-r--r-- | include/sax/tools/converter.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sax/tools/converter.hxx b/include/sax/tools/converter.hxx index 86671ce5bed2..77fc13852e3e 100644 --- a/include/sax/tools/converter.hxx +++ b/include/sax/tools/converter.hxx @@ -166,11 +166,21 @@ public: sal_Int16 const* pTimeZoneOffset, bool bAddTimeIf0AM = false ); + /** convert util::DateTime to ISO "time" or "dateTime" string */ + static void convertTimeOrDateTime(OUStringBuffer& rBuffer, + const com::sun::star::util::DateTime& rDateTime, + sal_Int16 const* pTimeZoneOffset); + /** convert ISO "date" or "dateTime" string to util::DateTime */ static bool parseDateTime( com::sun::star::util::DateTime& rDateTime, boost::optional<sal_Int16> * pTimeZoneOffset, const OUString& rString ); + /** convert ISO "time" or "dateTime" string to util::DateTime */ + static bool parseTimeOrDateTime(com::sun::star::util::DateTime& rDateTime, + boost::optional<sal_Int16> * pTimeZoneOffset, + const OUString& rString); + /** convert ISO "date" or "dateTime" string to util::DateTime or util::Date */ static bool parseDateOrDateTime( |