Send feedback on this topic.
Teradata.Client.Provider
Zero Field (TdIntervalHourToSecond)
Example 



Teradata.Client.Provider Namespace > TdIntervalHourToSecond Structure : Zero Field
Gets an TdIntervalHourToSecond instance that contains all zero elements for each interval field.
Syntax
'Declaration
 
Public Shared ReadOnly Zero As TdIntervalHourToSecond
'Usage
 
Dim value As TdIntervalHourToSecond
 
value = TdIntervalHourToSecond.Zero
public static readonly TdIntervalHourToSecond Zero
public:
static readonly TdIntervalHourToSecond Zero
Example
This example shows how to determine if an interval is negative.
TdIntervalDayTo Second htsInterval = new TdIntervalHourToSecond(0, 0, 0, -100000);
if (htsInterval < TdIntervalHourToSecond.Zero)
{
   Console.WriteLine("The Interval is negative");
}
// The output of the console is "The interval is negative"
Remarks
A Zero TdIntervalHourToSecond may be used to determine whether other instances of intervals represent postive, negative or non-zero intervals.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdIntervalHourToSecond Structure
TdIntervalHourToSecond Members