1// generated by diplomat-tool 2import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5/** See the [Rust documentation for `TimePrecision`](https://docs.rs/icu/latest/icu/datetime/enum.TimePrecision.html) for more information. 6*/ 7 8 9export class TimePrecision { 10 11 12 static fromValue(value : TimePrecision | string) : TimePrecision; 13 14 get value() : string; 15 16 get ffiValue() : number; 17 18 static Hour : TimePrecision; 19 static Minute : TimePrecision; 20 static MinuteOptional : TimePrecision; 21 static Second : TimePrecision; 22 static Subsecond1 : TimePrecision; 23 static Subsecond2 : TimePrecision; 24 static Subsecond3 : TimePrecision; 25 static Subsecond4 : TimePrecision; 26 static Subsecond5 : TimePrecision; 27 static Subsecond6 : TimePrecision; 28 static Subsecond7 : TimePrecision; 29 static Subsecond8 : TimePrecision; 30 static Subsecond9 : TimePrecision; 31 32 constructor(value: TimePrecision | string ); 33}