Cosmo (.NET)
Search Results for

    Show / Hide Table of Contents

    Class WeekInfo

    Week conventions for a locale's region. Days use ISO-8601 numbering (1 = Monday … 7 = Sunday), matching the JS port's Intl convention.

    Inheritance
    object
    WeekInfo
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Miloun.Cosmo
    Assembly: Miloun.Cosmo.dll
    Syntax
    public sealed class WeekInfo

    Constructors

    WeekInfo(int, int, IReadOnlyList<int>)

    Declaration
    public WeekInfo(int firstDay, int minimalDays, IReadOnlyList<int> weekend)
    Parameters
    Type Name Description
    int firstDay
    int minimalDays
    IReadOnlyList<int> weekend

    Properties

    FirstDay

    First day of the week, ISO numbering.

    Declaration
    public int FirstDay { get; }
    Property Value
    Type Description
    int

    MinimalDays

    Minimal days required in the first week of the year.

    Declaration
    public int MinimalDays { get; }
    Property Value
    Type Description
    int

    Weekend

    Weekend days, ISO numbering, in onset → cease order.

    Declaration
    public IReadOnlyList<int> Weekend { get; }
    Property Value
    Type Description
    IReadOnlyList<int>
    In this article
    Back to top Generated by DocFX