C# Класс WinRTXamlToolkit.Controls.DateTimeHelper

Inherited code: Requires comment.
Показать файл Открыть проект

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

Метод Описание
AddDays ( System.DateTime time, int days ) : DateTime?

Inherited code: Requires comment.

AddMonths ( System.DateTime time, int months ) : DateTime?

Inherited code: Requires comment.

AddYears ( System.DateTime time, int years ) : DateTime?

Inherited code: Requires comment.

CompareDays ( System.DateTime dt1, System.DateTime dt2 ) : int

Inherited code: Requires comment.

CompareYearMonth ( System.DateTime dt1, System.DateTime dt2 ) : int

Inherited code: Requires comment.

DecadeOfDate ( System.DateTime date ) : int

Inherited code: Requires comment.

DiscardDayTime ( System.DateTime d ) : System.DateTime

Inherited code: Requires comment.

DiscardTime ( System.DateTime d ) : DateTime?

Inherited code: Requires comment.

EndOfDecade ( System.DateTime date ) : int

Inherited code: Requires comment.

GetCurrentDateFormat ( ) : DateTimeFormatInfo

Inherited code: Requires comment.

InRange ( System.DateTime date, CalendarDateRange range ) : bool

Returns if the date is included in the range.

ToYearMonthPatternString ( System.DateTime date ) : string

Gets a localized string for the specified date using the YearMonthPattern format.

ToYearString ( System.DateTime date ) : string

Gets a localized string for the specified date's year.

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

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

Inherited code: Requires comment.
public static AddDays ( System.DateTime time, int days ) : DateTime?
time System.DateTime Inherited code: Requires comment 1.
days int Inherited code: Requires comment 2.
Результат DateTime?

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

Inherited code: Requires comment.
public static AddMonths ( System.DateTime time, int months ) : DateTime?
time System.DateTime Inherited code: Requires comment 1.
months int Inherited code: Requires comment 2.
Результат DateTime?

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

Inherited code: Requires comment.
public static AddYears ( System.DateTime time, int years ) : DateTime?
time System.DateTime Inherited code: Requires comment 1.
years int Inherited code: Requires comment 2.
Результат DateTime?

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

Inherited code: Requires comment.
public static CompareDays ( System.DateTime dt1, System.DateTime dt2 ) : int
dt1 System.DateTime Inherited code: Requires comment 1.
dt2 System.DateTime Inherited code: Requires comment 2.
Результат int

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

Inherited code: Requires comment.
public static CompareYearMonth ( System.DateTime dt1, System.DateTime dt2 ) : int
dt1 System.DateTime Inherited code: Requires comment 1.
dt2 System.DateTime Inherited code: Requires comment 2.
Результат int

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

Inherited code: Requires comment.
public static DecadeOfDate ( System.DateTime date ) : int
date System.DateTime Inherited code: Requires comment 1.
Результат int

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

Inherited code: Requires comment.
public static DiscardDayTime ( System.DateTime d ) : System.DateTime
d System.DateTime Inherited code: Requires comment 1.
Результат System.DateTime

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

Inherited code: Requires comment.
public static DiscardTime ( System.DateTime d ) : DateTime?
d System.DateTime Inherited code: Requires comment 1.
Результат DateTime?

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

Inherited code: Requires comment.
public static EndOfDecade ( System.DateTime date ) : int
date System.DateTime Inherited code: Requires comment 1.
Результат int

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

Inherited code: Requires comment.
public static GetCurrentDateFormat ( ) : DateTimeFormatInfo
Результат System.Globalization.DateTimeFormatInfo

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

Returns if the date is included in the range.
public static InRange ( System.DateTime date, CalendarDateRange range ) : bool
date System.DateTime Inherited code: Requires comment 1.
range CalendarDateRange Inherited code: Requires comment 2.
Результат bool

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

Gets a localized string for the specified date using the YearMonthPattern format.
public static ToYearMonthPatternString ( System.DateTime date ) : string
date System.DateTime Date to convert.
Результат string

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

Gets a localized string for the specified date's year.
public static ToYearString ( System.DateTime date ) : string
date System.DateTime Date to convert.
Результат string