Send feedback on this topic.
Teradata.Client.Provider
TdIntervalMinute Constructor(Int32)



Teradata.Client.Provider Namespace > TdIntervalMinute Structure > TdIntervalMinute Constructor : TdIntervalMinute Constructor(Int32)
Number of minutes.
An instance of TdIntervalMinute is created from time components specified as integers.
Syntax
'Declaration
 
Public Function New( _
   ByVal minutes As Integer _
)
'Usage
 
Dim minutes As Integer
 
Dim instance As New TdIntervalMinute(minutes)
public TdIntervalMinute( 
   int minutes
)
public:
TdIntervalMinute( 
   int minutes
)

Parameters

minutes
Number of minutes.
Exceptions
ExceptionDescription
The minutes parameter specifies a TdIntervalMinute value less than TdIntervalMinute.MinValue or greater than TdIntervalMinute.MaxValue.
Remarks

The number of minutes is constructed into a TdIntervalMinute and evaluated against TdIntervalMinute.MinValue and TdIntervalMinute.MaxValue. The TdIntervalMinute.Precision is then calculated from the number of digits contained within the interval minute component.

For example, 99 minutes is first constructed into a TdIntervalMinute. Precision is calculated to be a value of 2 representing two significant digits in the minutes.

Negative constructor parameters may be supplied to represent negative durations of time.

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

TdIntervalMinute Structure
TdIntervalMinute Members
Overload List