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



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

TdIntervalMinuteToSecond Structure
TdIntervalMinuteToSecond Members