utility::timespan Namespace

Warning

This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at https://casablanca.codeplex.com/documentation.

namespace timespan;

Members

Functions

Name

Description

seconds_to_xml_duration Function

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

xml_duration_to_seconds Function

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

Requirements

Header: asyncrt_utils.h

Namespace: utility

See Also

Reference

utility Namespace