blob: 5257b569930ce87c910ef5b952d4506ec061fa77 [file] [log] [blame]
// generated by diplomat-tool
import type { CalendarError } from "./CalendarError"
import type { CalendarParseError } from "./CalendarParseError"
import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** An ICU4X Time object representing a time in terms of hour, minute, second, nanosecond
*
*See the [Rust documentation for `Time`](https://docs.rs/icu/latest/icu/time/struct.Time.html) for more information.
*/
export class Time {
get ffiValue(): pointer;
static fromString(v: string): Time;
static midnight(): Time;
get hour(): number;
get minute(): number;
get second(): number;
get subsecond(): number;
constructor(hour: number, minute: number, second: number, subsecond: number);
}