System::DateTimeOffset::ParseExact method
Contents
[
Hide
]DateTimeOffset::ParseExact(const String&, const ArrayPtr<String>&, const SharedPtr<IFormatProvider>&, Globalization::DateTimeStyles) method
Converts the specified string to DateTimeOffset object using the specified formats, format provider and formatting style.
static DateTimeOffset System::DateTimeOffset::ParseExact(const String &input, const ArrayPtr<String> &formats, const SharedPtr<IFormatProvider> &provider, Globalization::DateTimeStyles styles)
Parameter | Type | Description |
---|---|---|
input | const String& | String to convert. |
formats | const ArrayPtr<String>& | Array of format strings. |
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 ArrayPtr
- Typedef SharedPtr
- Class IFormatProvider
- Enum DateTimeStyles
- Class DateTimeOffset
- Namespace System
- Library Aspose.PDF for C++
DateTimeOffset::ParseExact(const String&, const String&, const SharedPtr<IFormatProvider>&, Globalization::DateTimeStyles) method
Converts the specified string to DateTimeOffset object using the specified format, format provider and formatting style.
static DateTimeOffset System::DateTimeOffset::ParseExact(const String &input, const String &format, const SharedPtr<IFormatProvider> &provider, Globalization::DateTimeStyles styles=Globalization::DateTimeStyles::None)
Parameter | Type | Description |
---|---|---|
input | const String& | String to convert. |
format | const String& | Format string. |
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.PDF for C++