Date value structure for system date operations.

Represents a specific calendar date with month, day, and year components. Used when updating system date through the KosTime model.

Example

const newYear: DateBean = {
month: 1, // January
day: 1, // 1st
year: 2024 // 2024
};

const independence: DateBean = {
month: 7, // July
day: 4, // 4th
year: 2024
};

await timeModel.updateSystemDate(newYear);
interface DateBean {
    month: number;
    day: number;
    year: number;
}

Properties

Properties

month: number

Month (1-12, where 1 = January, 12 = December)

day: number

Day of the month (1-31, depending on month)

year: number

Full year (e.g., 2024)