System::DateTimeOffset::Parse method
Contents
[
Hide
]DateTimeOffset::Parse(const String&) method
Converts the specified string to DateTimeOffset equivalent.
static DateTimeOffset System::DateTimeOffset::Parse(const String &input)
Parameter | Type | Description |
---|---|---|
input | const String& | String to convert. |
ReturnValue
DateTimeOffset that is equivalent to the input.
See Also
- Class DateTimeOffset
- Class String
- Class DateTimeOffset
- Namespace System
- Library Aspose.PUB for C++
DateTimeOffset::Parse(const String&, const SharedPtr<IFormatProvider>&, Globalization::DateTimeStyles) method
Converts the specified string to DateTimeOffset object using the specified format provider and formatting style.
static DateTimeOffset System::DateTimeOffset::Parse(const String &input, const SharedPtr<IFormatProvider> &provider, Globalization::DateTimeStyles styles=Globalization::DateTimeStyles::None)
Parameter | Type | Description |
---|---|---|
input | const String& | String to convert. |
provider | const SharedPtr<IFormatProvider>& | Format provider. |
styles | Globalization::DateTimeStyles | Date and time formatting styles. |
ReturnValue
DateTimeOffset that is equivalent to the input.
See Also
- Class DateTimeOffset
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Enum DateTimeStyles
- Class DateTimeOffset
- Namespace System
- Library Aspose.PUB for C++