'Declaration Public ReadOnly Property Hours As Integer
'Usage Dim instance As TdIntervalHourToMinute Dim value As Integer value = instance.Hours
public int Hours {get;}
'Declaration Public ReadOnly Property Hours As Integer
'Usage Dim instance As TdIntervalHourToMinute Dim value As Integer value = instance.Hours
public int Hours {get;}
Exception | Description |
---|---|
TdException | This property is not available when this instance is TdIntervalHourToMinute.Null. |
A TdIntervalHourToMinute is represented as [-][hours]:mm. The minus sign is optional and represents a negative interval of time. The hours component represents hours and the mm component represents minutes. The value of the Hours property is the hours component.
A negative interval will return all properties (hours and minutes) as negative values.
Product | Versions | Platforms |
---|---|---|
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |