trisquel-icecat/icecat/intl/icu_capi/bindings/js/ICU4XMetazoneCalculator.d.ts
2025-10-06 02:35:48 -06:00

21 lines
845 B
TypeScript

import { FFIError } from "./diplomat-runtime"
import { ICU4XDataProvider } from "./ICU4XDataProvider";
import { ICU4XError } from "./ICU4XError";
/**
* An object capable of computing the metazone from a timezone.
* This can be used via `maybe_calculate_metazone()` on {@link crate::timezone::ffi::ICU4XCustomTimeZone `ICU4XCustomTimeZone`}.
* See the {@link https://docs.rs/icu/latest/icu/timezone/struct.MetazoneCalculator.html Rust documentation for `MetazoneCalculator`} for more information.
*/
export class ICU4XMetazoneCalculator {
/**
* See the {@link https://docs.rs/icu/latest/icu/timezone/struct.MetazoneCalculator.html#method.new Rust documentation for `new`} for more information.
* @throws {@link FFIError}<{@link ICU4XError}>
*/
static create(provider: ICU4XDataProvider): ICU4XMetazoneCalculator | never;
}