Parse()
Contents
[
Hide
]TimeSpan::Parse(const String&) method
Converts string to equivalent TimeSpan object.
static TimeSpan System::TimeSpan::Parse(const String &input)
Arguments
Parameter | Type | Description |
---|---|---|
input | const String& | Input string. |
Return Value
Time interval that corresponds to string.
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)
Arguments
Parameter | Type | Description |
---|---|---|
input | const String& | Input string. |
provider | const SharedPtr<IFormatProvider>& | Format provider that supplies culture-specific formatting information. |
Return Value
Time interval that corresponds to string.
TimeSpan::Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) method
static TimeSpan System::TimeSpan::Parse(const String &input, const SharedPtr<Globalization::CultureInfo> &culture)
TimeSpan::Parse(const String&, const SharedPtr<Globalization::DateTimeFormatInfo>&) method
static TimeSpan System::TimeSpan::Parse(const String &input, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi)
TimeSpan::Parse(const String&, std::nullptr_t) method
static TimeSpan System::TimeSpan::Parse(const String &input, std::nullptr_t)
See Also
- Typedef SharedPtr
- Class TimeSpan
- Class String
- Class IFormatProvider
- Class CultureInfo
- Class DateTimeFormatInfo
- Namespace System
- Library Aspose.Slides