tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

TimePrecision.d.ts (1372B)


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