Send feedback on this topic.
Teradata.Client.Provider
Parse Method (TdPeriodTimestampWithTimeZone)



Teradata.Client.Provider Namespace > TdPeriodTimestampWithTimeZone Structure : Parse Method
The string that is to be converted into a TdPeriodTimestampWithTimeZone.
The specified string is converted into an equivalent TdPeriodTimestampWithTimeZone.
Syntax
'Declaration
 
Public Shared Function Parse( _
   ByVal value As String _
) As TdPeriodTimestampWithTimeZone
'Usage
 
Dim value As String
Dim value As TdPeriodTimestampWithTimeZone
 
value = TdPeriodTimestampWithTimeZone.Parse(value)
public static TdPeriodTimestampWithTimeZone Parse( 
   string value
)
public:
static TdPeriodTimestampWithTimeZone Parse( 
   String^ value
) 

Parameters

value
The string that is to be converted into a TdPeriodTimestampWithTimeZone.

Return Value

A TdPeriodTimestampWithTimeZone is returned that is equivalent to the Period contained in the value string.
Exceptions
ExceptionDescription
Value is a null reference.
Value does not contain a valid representation of a period.
Remarks

A period will have the following string representation:

    (Beginning Bound, Ending Bound)   

The period must be surrounded by parentheses. Both the Beginning and Ending bounds can optionally be surrounded by single quotes (" ' "). The exception to this is when the Teradata literal string representation of period is specified. The comma (" , ") is used as the delimeter between the Begin and End timestamps.

Refer to TdPeriodTimestampWithTimeZone.ToString for valid formats for TdPeriodTimestampWithTimeZone.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members
Parse(String) Method