Cosmo (.NET)
Search Results for

    Show / Hide Table of Contents

    Class Modifiers

    Optional overrides resolved at construction: calendar, currency and timeZone. Any field may be null (meaning "derive from the locale, or unavailable").

    Inheritance
    object
    Modifiers
    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 Modifiers

    Constructors

    Modifiers(string?, string?, string?)

    Declaration
    public Modifiers(string? calendar = null, string? currency = null, string? timeZone = null)
    Parameters
    Type Name Description
    string calendar
    string currency
    string timeZone

    Properties

    Calendar

    Calendar keyword, e.g. "buddhist".

    Declaration
    public string? Calendar { get; }
    Property Value
    Type Description
    string

    Currency

    ISO 4217 currency code used as the default for Money(double).

    Declaration
    public string? Currency { get; }
    Property Value
    Type Description
    string

    None

    All-null modifiers — everything derived from the locale.

    Declaration
    public static Modifiers None { get; }
    Property Value
    Type Description
    Modifiers

    TimeZone

    IANA time-zone id, e.g. "Australia/Sydney".

    Declaration
    public string? TimeZone { get; }
    Property Value
    Type Description
    string
    In this article
    Back to top Generated by DocFX