EssentialsMonth Class

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll
Visibility Public
Inheritance

Class describing a month.

public class EssentialsMonth : EssentialsPeriod { }

Properties

Type Name Summary
int Year

Gets the year of the month.

int Month

Gets the ordinal of the month - eg. 1 for January.

String MonthName

Gets the month name in English.

String LocalMonthName

Gets the month name according to the current culture.

EssentialsTime Start (inherited from EssentialsPeriod)

Gets a reference to the timestamp representing the start of the period.

bool HasStart (inherited from EssentialsPeriod)

Gets whether the EssentialsPeriod.Start property has a value.

EssentialsTime End (inherited from EssentialsPeriod)

Gets a reference to the timestamp representing the end of the period.

bool HasEnd (inherited from EssentialsPeriod)

Gets whether the EssentialsPeriod.End property has a value.

Methods

Returns an array with the months from startYear and startMonth.

Start and end dates of each month are calculated based on System.TimeZoneInfo.Local.

Returns an array with the months from startYear and startMonth.

Start and end dates of each month are calculated based on timeZone.

Returns a new instance representing the next month, according to the local time zone.

Returns a new instance representing the next month, according to the specified timeZone.

Returns a new instance representing the previous month, according to the local time zone.

Returns a new instance representing the previous month, according to the specified timeZone.