C# Класс Cornerstone.Extensions.DateTimeExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetStartOfMonth ( this self ) : System.DateTime

Gets a new instance of DateTime representing the start of the month for this instance

GetStartOfWeek ( this self ) : System.DateTime

Gets an instance of DateTime representing the start of the week for this instance

GetStartOfYear ( this self ) : System.DateTime

Gets a new instance of DateTime representing the start of the year for this instance

Описание методов

GetStartOfMonth() публичный статический Метод

Gets a new instance of DateTime representing the start of the month for this instance
public static GetStartOfMonth ( this self ) : System.DateTime
self this
Результат System.DateTime

GetStartOfWeek() публичный статический Метод

Gets an instance of DateTime representing the start of the week for this instance
public static GetStartOfWeek ( this self ) : System.DateTime
self this
Результат System.DateTime

GetStartOfYear() публичный статический Метод

Gets a new instance of DateTime representing the start of the year for this instance
public static GetStartOfYear ( this self ) : System.DateTime
self this
Результат System.DateTime