System::TimeSpan::Parse method
Contents
[
Hide
]TimeSpan::Parse(const String&) method
Converts string to equivalent TimeSpan object.
static TimeSpan System::TimeSpan::Parse(const String &input)
Parameter | Type | Description |
---|---|---|
input | const String& | Input string. |
ReturnValue
Time interval that corresponds to string.
See Also
- Class TimeSpan
- Class String
- Class TimeSpan
- Namespace System
- Library Aspose.PUB for C++
TimeSpan::Parse(const String&, const SharedPtr<IFormatProvider>&) method
Converts string to equivalent TimeSpan object using the specified format provider.
static TimeSpan System::TimeSpan::Parse(const String &input, const SharedPtr<IFormatProvider> &provider)
Parameter | Type | Description |
---|---|---|
input | const String& | Input string. |
provider | const SharedPtr<IFormatProvider>& | Format provider that supplies culture-specific formatting information. |
ReturnValue
Time interval that corresponds to string.
See Also
- Class TimeSpan
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class TimeSpan
- Namespace System
- Library Aspose.PUB for C++
TimeSpan::Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) method
static TimeSpan System::TimeSpan::Parse(const String &input, const SharedPtr<Globalization::CultureInfo> &culture)
See Also
- Class TimeSpan
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class TimeSpan
- Namespace System
- Library Aspose.PUB for C++
TimeSpan::Parse(const String&, const SharedPtr<Globalization::DateTimeFormatInfo>&) method
static TimeSpan System::TimeSpan::Parse(const String &input, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi)
See Also
- Class TimeSpan
- Class String
- Typedef SharedPtr
- Class DateTimeFormatInfo
- Class TimeSpan
- Namespace System
- Library Aspose.PUB for C++
TimeSpan::Parse(const String&, std::nullptr_t) method
static TimeSpan System::TimeSpan::Parse(const String &input, std::nullptr_t)
See Also
- Class TimeSpan
- Class String
- Class TimeSpan
- Namespace System
- Library Aspose.PUB for C++