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



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

Parameters

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

Return Value

A TdPeriodTimeWithTimeZone 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 bounds.

Refer to TdPeriodTimeWithTimeZone.ToString for valid formats for TdPeriodTimeWithTimeZone.

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Parse(String) Method
ToString(String) Method