Member group
ToString
Declaring type: TimeOfDay
Module: System.Time
Assembly: System.Runtime.dll
Source file: TimeOfDay.rvn
Overloads / Variants
ToString
func ToString(culture: Culture) -> string
Source file: TimeOfDay.rvn
Formats using explicit cultural preferences.
Parameters
| Name | Type | Description |
|---|---|---|
culture |
Culture | A supported culture profile. |
Return value
24-hour text with seven fractional digits; no date or offset.
ToString
func ToString(format: string, culture: Culture) -> string
Source file: TimeOfDay.rvn
Implements Formattable.ToString
Formats with an explicit culture; unsupported specifiers fault. O/o is invariant.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String | |
culture |
Culture |
Return value
ToString
func ToString(format: string) -> string
Source file: TimeOfDay.rvn
Formats with Culture.Current; supported formats are documented by DateTimeFormat.FormatTime.
Parameters
| Name | Type | Description |
|---|---|---|
format |
String |
Return value
ToString
virtual override func ToString() -> string
Source file: TimeOfDay.rvn
Overrides Object.ToString
Formats using Culture.Current and its fixed time profile.
Return value
24-hour text with seven fractional digits.