Quellcodebibliothek
Statistik
Leitseite
products
/
Sources
/
formale Sprachen
/
C
/
Firefox
/
intl
/
icu_capi
/
bindings
/
js
/ (
Browser von der Mozilla Stiftung
Version 136.0.1
©
) Datei vom 10.2.2025 mit Größe 1 kB
Quelle ICU4XTime.d.ts Sprache: unbekannt
Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { u8, u32 } from "./diplomat-runtime"
import { FFIError } from "./diplomat-runtime"
import { ICU4XError } from "./ICU4XError";
/**
* An ICU4X Time object representing a time in terms of hour, minute, second, nanosecond
* See the {@link
https://docs.rs/icu/latest/icu/calendar/struct.Time.html
Rust documen
tation for `Time`} for more information.
*/
export class ICU4XTime {
/**
* Creates a new {@link ICU4XTime `ICU4XTime`} given field values
* See the {@link
https://docs.rs/icu/latest/icu/calendar/struct.Time.html#method.try
_new
Rust documentation for `try_new`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create(hour: u8, minute: u8, second: u8, nanosecond: u32): ICU4XTime | never;
/**
* Creates a new {@link ICU4XTime `ICU4XTime`} representing midnight (00:00.000).
* See the {@link
https://docs.rs/icu/latest/icu/calendar/struct.Time.html#method.mid
night
Rust documentation for `midnight`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create_midnight(): ICU4XTime | never;
/**
* Returns the hour in this time
* See the {@link
https://docs.rs/icu/latest/icu/calendar/struct.Time.html#structfiel
d.hour
Rust documentation for `hour`} for more information.
*/
hour(): u8;
/**
* Returns the minute in this time
* See the {@link
https://docs.rs/icu/latest/icu/calendar/struct.Time.html#structfiel
d.minute
Rust documentation for `minute`} for more information.
*/
minute(): u8;
/**
* Returns the second in this time
* See the {@link
https://docs.rs/icu/latest/icu/calendar/struct.Time.html#structfiel
d.second
Rust documentation for `second`} for more information.
*/
second(): u8;
/**
* Returns the nanosecond in this time
* See the {@link
https://docs.rs/icu/latest/icu/calendar/struct.Time.html#structfiel
d.nanosecond
Rust documentation for `nanosecond`} for more information.
*/
nanosecond(): u32;
}
[ Dauer der Verarbeitung: 0.32 Sekunden
]
2026-04-04