• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { CalendarError } from "./CalendarError"
3import type { CalendarParseError } from "./CalendarParseError"
4import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
5
6
7/** An ICU4X Time object representing a time in terms of hour, minute, second, nanosecond
8*
9*See the [Rust documentation for `Time`](https://docs.rs/icu/latest/icu/time/struct.Time.html) for more information.
10*/
11
12
13export class Time {
14
15    get ffiValue(): pointer;
16
17    static fromString(v: string): Time;
18
19    static midnight(): Time;
20
21    get hour(): number;
22
23    get minute(): number;
24
25    get second(): number;
26
27    get subsecond(): number;
28
29    constructor(hour: number, minute: number, second: number, subsecond: number);
30}