Class WeekdayDefinition
Serializable description of a single weekday in a custom calendar's weekday list.
Weekdays cycle through the calendar's full weekday list using
(absoluteDay mod weekdayCount) arithmetic.
Inherited Members
Namespace: Scylla.Core.Time
Assembly: ScyllaCore.dll
Syntax
[Serializable]
public sealed class WeekdayDefinition
Remarks
If the parent calendar's weekday list is empty, weekday tracking is disabled and
WeekdayIndex reads -1.
Constructors
WeekdayDefinition()
Default constructor for serialization.
Declaration
public WeekdayDefinition()
WeekdayDefinition(string, string)
Code-only constructor used by tests and built-in presets.
Declaration
public WeekdayDefinition(string name, string shortName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | shortName |
Properties
Name
Full weekday name.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
ShortName
Compact weekday name.
Declaration
public string ShortName { get; }
Property Value
| Type | Description |
|---|---|
| string |