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

export type DateDifferenceOptions_obj = {
    largestUnit?: DateDurationUnit | null;
};



/**
 * See the [Rust documentation for `DateDifferenceOptions`](https://docs.rs/icu/2.2.0/icu/calendar/options/struct.DateDifferenceOptions.html) for more information.
 */
export class DateDifferenceOptions {
    get largestUnit(): DateDurationUnit | null;
    set largestUnit(value: DateDurationUnit | null);
    /** @internal */
    static fromFields(structObj : DateDifferenceOptions_obj) : DateDifferenceOptions;

    /**
    * Create `DateDifferenceOptions` from an object that contains all of `DateDifferenceOptions`s fields.
    * Optional fields do not need to be included in the provided object.
    */
    constructor(structObj: DateDifferenceOptions_obj);

}