Debian Codegraph @

intl/icu_capi/bindings/js/ICU4XMetazoneCalculator.d.ts

raw
1 import { FFIError } from "./diplomat-runtime"
2 import { ICU4XDataProvider } from "./ICU4XDataProvider";
3 import { ICU4XError } from "./ICU4XError";
4
5 /**
6
7 * An object capable of computing the metazone from a timezone.
8
9 * This can be used via `maybe_calculate_metazone()` on {@link crate::timezone::ffi::ICU4XCustomTimeZone `ICU4XCustomTimeZone`}.
10
11 * See the {@link https://docs.rs/icu/latest/icu/timezone/struct.MetazoneCalculator.html Rust documentation for `MetazoneCalculator`} for more information.
12 */
13 export class ICU4XMetazoneCalculator {
14
15 /**
16
17 * See the {@link https://docs.rs/icu/latest/icu/timezone/struct.MetazoneCalculator.html#method.new Rust documentation for `new`} for more information.
18 * @throws {@link FFIError}<{@link ICU4XError}>
19 */
20 static create(provider: ICU4XDataProvider): ICU4XMetazoneCalculator | never;
21 }