// generated by diplomat-tool
import type { pointer, codepoint } from "./diplomat-runtime.d.ts";



/**
 * See the [Rust documentation for `DateDurationUnit`](https://docs.rs/icu/2.2.0/icu/calendar/options/enum.DateDurationUnit.html) for more information.
 */
export class DateDurationUnit {

    /** @internal */
    static fromValue(value: DateDurationUnit | string): DateDurationUnit;

    get value(): string;

    /** @internal */
    get ffiValue(): number;

    static Years : DateDurationUnit;
    static Months : DateDurationUnit;
    static Weeks : DateDurationUnit;
    static Days : DateDurationUnit;


    constructor(value: DateDurationUnit | string );
}