C# 클래스 Microsoft.Phone.Controls.DateTimeFormatHelper

파일 보기 프로젝트 열기: nokiadatagathering/WP7-Official 1 사용 예제들

공개 메소드들

메소드 설명
GetAbbreviatedDay ( System.DateTime dt ) : string

Gets the abbreviated day from a T:System.DateTime object.

GetMonthAndDay ( System.DateTime dt ) : string

Gets the month and day from a T:System.DateTime object.

GetRelativeDayOfWeek ( System.DateTime dt ) : int

Gets the number representing the day of the week from a given T:System.DateTime object, relative to the first day of the week according to the current culture.

GetShortDate ( System.DateTime dt ) : string

Gets the date in short pattern from a T:System.DateTime object.

GetShortTime ( System.DateTime dt ) : string

Gets the time in short pattern from a T:System.DateTime object.

IsAnOlderWeek ( System.DateTime relative, System.DateTime given ) : bool

Indicates if a given T:System.DateTime object represents a past week when compared to another T:System.DateTime object.

IsAnOlderYear ( System.DateTime relative, System.DateTime given ) : bool

Indicates if a given T:System.DateTime object represents a past year when compared to another T:System.DateTime object.

IsAtLeastOneWeekOld ( System.DateTime relative, System.DateTime given ) : bool

Indicates if a given T:System.DateTime object is at least one week behind from another T:System.DateTime object.

IsCurrentCultureHungarian ( ) : bool

Identifies if the current culture is set to Hungarian.

IsCurrentCultureJapanese ( ) : bool

Identifies if the current culture is set to Japanese.

IsCurrentCultureKorean ( ) : bool

Identifies if the current culture is set to Korean.

IsCurrentCultureTurkish ( ) : bool

Identifies if the current culture is set to Turkish.

IsCurrentUICultureFrench ( ) : bool

Identifies if the current UI culture is set to French.

IsFutureDateTime ( System.DateTime relative, System.DateTime given ) : bool

Indicates if a given T:System.DateTime object represents a future instance when compared to another T:System.DateTime object.

IsPastDayOfWeek ( System.DateTime relative, System.DateTime given ) : bool

Indicates if a given T:System.DateTime object corresponds to a past day in the same week as another T:System.DateTime object.

IsPastDayOfWeekWithWindow ( System.DateTime relative, System.DateTime given ) : bool

Indicates if a given T:System.DateTime object corresponds to a past day in the same week as another T:System.DateTime object and at least three hours behind it.

비공개 메소드들

메소드 설명
GetSuperShortTime ( System.DateTime dt ) : string

메소드 상세

GetAbbreviatedDay() 공개 정적인 메소드

Gets the abbreviated day from a T:System.DateTime object.
public static GetAbbreviatedDay ( System.DateTime dt ) : string
dt System.DateTime Date information.
리턴 string

GetMonthAndDay() 공개 정적인 메소드

Gets the month and day from a T:System.DateTime object.
public static GetMonthAndDay ( System.DateTime dt ) : string
dt System.DateTime Date information.
리턴 string

GetRelativeDayOfWeek() 공개 정적인 메소드

Gets the number representing the day of the week from a given T:System.DateTime object, relative to the first day of the week according to the current culture.
public static GetRelativeDayOfWeek ( System.DateTime dt ) : int
dt System.DateTime Date information.
리턴 int

GetShortDate() 공개 정적인 메소드

Gets the date in short pattern from a T:System.DateTime object.
public static GetShortDate ( System.DateTime dt ) : string
dt System.DateTime Date information.
리턴 string

GetShortTime() 공개 정적인 메소드

Gets the time in short pattern from a T:System.DateTime object.
public static GetShortTime ( System.DateTime dt ) : string
dt System.DateTime Date information.
리턴 string

IsAnOlderWeek() 공개 정적인 메소드

Indicates if a given T:System.DateTime object represents a past week when compared to another T:System.DateTime object.
public static IsAnOlderWeek ( System.DateTime relative, System.DateTime given ) : bool
relative System.DateTime Relative date and time.
given System.DateTime Given date and time.
리턴 bool

IsAnOlderYear() 공개 정적인 메소드

Indicates if a given T:System.DateTime object represents a past year when compared to another T:System.DateTime object.
public static IsAnOlderYear ( System.DateTime relative, System.DateTime given ) : bool
relative System.DateTime Relative date and time.
given System.DateTime Given date and time.
리턴 bool

IsAtLeastOneWeekOld() 공개 정적인 메소드

Indicates if a given T:System.DateTime object is at least one week behind from another T:System.DateTime object.
public static IsAtLeastOneWeekOld ( System.DateTime relative, System.DateTime given ) : bool
relative System.DateTime Relative date and time.
given System.DateTime Given date and time.
리턴 bool

IsCurrentCultureHungarian() 공개 정적인 메소드

Identifies if the current culture is set to Hungarian.
public static IsCurrentCultureHungarian ( ) : bool
리턴 bool

IsCurrentCultureJapanese() 공개 정적인 메소드

Identifies if the current culture is set to Japanese.
public static IsCurrentCultureJapanese ( ) : bool
리턴 bool

IsCurrentCultureKorean() 공개 정적인 메소드

Identifies if the current culture is set to Korean.
public static IsCurrentCultureKorean ( ) : bool
리턴 bool

IsCurrentCultureTurkish() 공개 정적인 메소드

Identifies if the current culture is set to Turkish.
public static IsCurrentCultureTurkish ( ) : bool
리턴 bool

IsCurrentUICultureFrench() 공개 정적인 메소드

Identifies if the current UI culture is set to French.
public static IsCurrentUICultureFrench ( ) : bool
리턴 bool

IsFutureDateTime() 공개 정적인 메소드

Indicates if a given T:System.DateTime object represents a future instance when compared to another T:System.DateTime object.
public static IsFutureDateTime ( System.DateTime relative, System.DateTime given ) : bool
relative System.DateTime Relative date and time.
given System.DateTime Given date and time.
리턴 bool

IsPastDayOfWeek() 공개 정적인 메소드

Indicates if a given T:System.DateTime object corresponds to a past day in the same week as another T:System.DateTime object.
public static IsPastDayOfWeek ( System.DateTime relative, System.DateTime given ) : bool
relative System.DateTime Relative date and time.
given System.DateTime Given date and time.
리턴 bool

IsPastDayOfWeekWithWindow() 공개 정적인 메소드

Indicates if a given T:System.DateTime object corresponds to a past day in the same week as another T:System.DateTime object and at least three hours behind it.
public static IsPastDayOfWeekWithWindow ( System.DateTime relative, System.DateTime given ) : bool
relative System.DateTime Relative date and time.
given System.DateTime Given date and time.
리턴 bool