'Declaration Public ReadOnly Property Hours As Integer
'Usage Dim instance As TdIntervalDayToSecond Dim value As Integer value = instance.Hours
public int Hours {get;}
'Declaration Public ReadOnly Property Hours As Integer
'Usage Dim instance As TdIntervalDayToSecond Dim value As Integer value = instance.Hours
public int Hours {get;}
Exception | Description |
---|---|
TdException | This property is not available when this instance is TdIntervalDayToSecond.Null. |
A TdIntervalDayToSecond is represented as [-][days][space][hh]:[mm]:[ss].[ffffff]. The minus sign is optional and represents a negative interval of time. The days component represents days. The single space character (0x40) separates the days from the hours. The hh represents hours, the mm minutes, the ss seconds and the ffffff fractional seconds. The value of the Hours property is the hh component.
A negative interval will return all properties (days, minutes, hours, seconds and fractional seconds) as negative values.
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019