1// generated by diplomat-tool 2import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5/** Documents which days of the week are considered to be a part of the weekend 6* 7*See the [Rust documentation for `weekend`](https://docs.rs/icu/latest/icu/calendar/week/struct.WeekCalculator.html#method.weekend) for more information. 8*/ 9type WeekendContainsDay_obj = { 10 monday: boolean; 11 tuesday: boolean; 12 wednesday: boolean; 13 thursday: boolean; 14 friday: boolean; 15 saturday: boolean; 16 sunday: boolean; 17}; 18 19 20 21export class WeekendContainsDay { 22 23 get monday() : boolean; 24 set monday(value: boolean); 25 26 get tuesday() : boolean; 27 set tuesday(value: boolean); 28 29 get wednesday() : boolean; 30 set wednesday(value: boolean); 31 32 get thursday() : boolean; 33 set thursday(value: boolean); 34 35 get friday() : boolean; 36 set friday(value: boolean); 37 38 get saturday() : boolean; 39 set saturday(value: boolean); 40 41 get sunday() : boolean; 42 set sunday(value: boolean); 43 44 /** Create `WeekendContainsDay` from an object that contains all of `WeekendContainsDay`s fields. 45 * Optional fields do not need to be included in the provided object. 46 */ 47 static fromFields(structObj : WeekendContainsDay_obj) : WeekendContainsDay; 48 49 50 constructor(structObj : WeekendContainsDay_obj); 51}