TimeOnly Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
TimeOnly(Int64) |
Inicializuje novou instanci TimeOnly struktury pomocí zadaného počtu záškrtů. |
TimeOnly(Int32, Int32) |
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu a minutu. |
TimeOnly(Int32, Int32, Int32) |
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu, minutu a sekundu. |
TimeOnly(Int32, Int32, Int32, Int32) |
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu, minutu, sekundu a milisekundu. |
TimeOnly(Int32, Int32, Int32, Int32, Int32) |
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu, minutu, sekundu a milisekundu. |
TimeOnly(Int64)
Inicializuje novou instanci TimeOnly struktury pomocí zadaného počtu záškrtů.
public:
TimeOnly(long ticks);
public TimeOnly (long ticks);
new TimeOnly : int64 -> TimeOnly
Public Sub New (ticks As Long)
Parametry
- ticks
- Int64
Denní doba vyjádřená v počtu 100 nanosekundových jednotek od 00:00:00.000000.
Platí pro
TimeOnly(Int32, Int32)
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu a minutu.
public:
TimeOnly(int hour, int minute);
public TimeOnly (int hour, int minute);
new TimeOnly : int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer)
Parametry
- hour
- Int32
Hodiny (0 až 23).
- minute
- Int32
Minuty (0 až 59).
Platí pro
TimeOnly(Int32, Int32, Int32)
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu, minutu a sekundu.
public:
TimeOnly(int hour, int minute, int second);
public TimeOnly (int hour, int minute, int second);
new TimeOnly : int * int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer, second As Integer)
Parametry
- hour
- Int32
Hodiny (0 až 23).
- minute
- Int32
Minuty (0 až 59).
- second
- Int32
Sekundy (0 až 59).
Platí pro
TimeOnly(Int32, Int32, Int32, Int32)
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu, minutu, sekundu a milisekundu.
public:
TimeOnly(int hour, int minute, int second, int millisecond);
public TimeOnly (int hour, int minute, int second, int millisecond);
new TimeOnly : int * int * int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer, second As Integer, millisecond As Integer)
Parametry
- hour
- Int32
Hodiny (0 až 23).
- minute
- Int32
Minuty (0 až 59).
- second
- Int32
Sekundy (0 až 59).
- millisecond
- Int32
Milisekundy (0 až 999).
Platí pro
TimeOnly(Int32, Int32, Int32, Int32, Int32)
Inicializuje novou instanci TimeOnly struktury na zadanou hodinu, minutu, sekundu a milisekundu.
public:
TimeOnly(int hour, int minute, int second, int millisecond, int microsecond);
public TimeOnly (int hour, int minute, int second, int millisecond, int microsecond);
new TimeOnly : int * int * int * int * int -> TimeOnly
Public Sub New (hour As Integer, minute As Integer, second As Integer, millisecond As Integer, microsecond As Integer)
Parametry
- hour
- Int32
Hodiny (0 až 23).
- minute
- Int32
Minuty (0 až 59).
- second
- Int32
Sekundy (0 až 59).
- millisecond
- Int32
Milisekundy (0 až 999).
- microsecond
- Int32
Mikrosekundy (0 až 999).