Skip to main content

Definition

Assembly: System.Runtime.dll Namespace: System

Syntax

Summary

This type is defined in System.Runtime.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

DaysInMonth Extension

Extension method from System.EasyAF_DateTimeExtensions

Syntax

Parameters

Returns

Type: int

Remarks

https://stackoverflow.com/questions/24245523/getting-the-first-and-last-day-of-a-month-using-a-given-datetime-object

FirstDayOfMonth Extension

Extension method from System.EasyAF_DateTimeExtensions

Syntax

Parameters

Returns

Type: System.DateTimeOffset

Remarks

https://stackoverflow.com/questions/24245523/getting-the-first-and-last-day-of-a-month-using-a-given-datetime-object

GetQuarter Extension

Extension method from System.EasyAF_DateTimeExtensions
Calculates the quarter for the given DateTimeOffset, assuming a calendar-based fiscal year.

Syntax

Parameters

Returns

Type: int

Remarks

From https://stackoverflow.com/questions/8698303/how-do-i-discover-the-quarter-of-a-given-date

GetQuarter Extension

Extension method from System.EasyAF_DateTimeExtensions
Calculates the quarter for the given DateTimeOffset, assuming a the provided fiscal year begin date.

Syntax

Parameters

Returns

Type: int

Remarks

From https://stackoverflow.com/questions/8698303/how-do-i-discover-the-quarter-of-a-given-date

LastDayOfMonth Extension

Extension method from System.EasyAF_DateTimeExtensions

Syntax

Parameters

Returns

Type: System.DateTimeOffset

Remarks

https://stackoverflow.com/questions/24245523/getting-the-first-and-last-day-of-a-month-using-a-given-datetime-object