类型 CalendarDay

API 文档由 Go 源码生成,内容为英文。

type CalendarDay struct {
	ID                 ui.ID
	Label              string
	AccessibilityLabel string
	Value              string
	Hint               string
	Selected           bool
	RangeStart         bool
	RangeMiddle        bool
	RangeEnd           bool
	Today              bool
	Outside            bool
	Disabled           bool
}

CalendarDay is one application-owned cell in display order. Label is the visible day text; AccessibilityLabel should contain the complete localized date when Label alone would be ambiguous. Date arithmetic and selection changes remain application responsibilities.