Skip to content

TKLocalTime

Description

Represents a TOML local time.

Properties

Name Type Read-Only
Hour Integer
mHour Integer
Minute Integer
mMinute Integer
mNanosecond Integer
mSecond Integer
mSecondsFromMidnight Double
mStringValue String
Nanosecond Integer
Second Integer
SecondsFromMidnight Double
ToString String

Methods

Name Parameters Returns
Constructor hour As Integer, minute As Integer, second As Integer, nanosecond As Integer
Constructor copyFrom As TKLocalTime
FromString timeString As String TKLocalTime
Now TKLocalTime
Operator_Convert String

Property Descriptions

Hour As Integer

The hour.


mHour As Integer

Backing field for the computed Hour property.


Minute As Integer

The minute.


mMinute As Integer

Backing field for the Minute computed property.


mNanosecond As Integer

Backing field for the Nanosecond computed property.


mSecond As Integer

Backing field for the Second computed property.


mSecondsFromMidnight As Double

Backing field used within the SecondsFromMidnight computed property.


mStringValue As String

Backing field used within the ToString computed property.


Nanosecond As Integer

The nanosecond.


Second As Integer

The second.


SecondsFromMidnight As Double

The number of seconds from midnight.


ToString As String

A string representation of this local time.


Method Descriptions

Constructor(hour As Integer, minute As Integer, second As Integer, nanosecond As Integer)

Constructs a new TKLocalTime from hour, minute, second and an optional nanosecond.


Constructor(copyFrom As TKLocalTime)

Constructs a new TKLocalTime from copyFrom.


FromString(timeString As String) As TKLocalTime This method is shared.

Returns a new TKLocalTime from a string.


Now() As TKLocalTime This method is shared.

Returns this moment in time as a new TKLocalTime.


Operator_Convert() As String

Returns a string representation of this object.