C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Functions
utility::timespan Namespace Reference

Functions for converting to/from std::chrono::seconds to xml string. More...

Functions

_ASYNCRTIMP utility::string_t __cdecl seconds_to_xml_duration (utility::seconds numSecs)
 Converts a timespan/interval in seconds to xml duration string as specified by http://www.w3.org/TR/xmlschema-2/#duration More...
 
_ASYNCRTIMP utility::seconds __cdecl xml_duration_to_seconds (const utility::string_t &timespanString)
 Converts an xml duration to timespan/interval in seconds http://www.w3.org/TR/xmlschema-2/#duration More...
 

Detailed Description

Functions for converting to/from std::chrono::seconds to xml string.

Function Documentation

_ASYNCRTIMP utility::string_t __cdecl utility::timespan::seconds_to_xml_duration ( utility::seconds  numSecs)

Converts a timespan/interval in seconds to xml duration string as specified by http://www.w3.org/TR/xmlschema-2/#duration

_ASYNCRTIMP utility::seconds __cdecl utility::timespan::xml_duration_to_seconds ( const utility::string_t &  timespanString)

Converts an xml duration to timespan/interval in seconds http://www.w3.org/TR/xmlschema-2/#duration