Class PageDate.YearComponent

PageDate.YearComponent class

Represents the year component of a date.

public class YearComponent : DateComponent

Constructors

NameDescription
YearComponent()The default constructor.

Properties

NameDescription
Format { get; set; }Gets or sets the format for the date component.

Methods

NameDescription
GetFormat()Gets the format string for the year component.
GetFormat(char)Returns a string composed of a specified character repeated based on the format.

See Also