C# 클래스 NetworkCommsDotNet.Tools.XPlatformHelper.DateTimeExtensions

파일 보기 프로젝트 열기: MarcFletcher/NetworkComms.Net

공개 메소드들

메소드 설명
ToLongDateString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent long date string representation.

ToLongTimeString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent long time string representation.

ToShortDateString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent short date string representation.

ToShortTimeString ( this dt ) : string

Converts the value of the current DateTime object to its equivalent short time string representation.

메소드 상세

ToLongDateString() 공개 정적인 메소드

Converts the value of the current DateTime object to its equivalent long date string representation.
public static ToLongDateString ( this dt ) : string
dt this
리턴 string

ToLongTimeString() 공개 정적인 메소드

Converts the value of the current DateTime object to its equivalent long time string representation.
public static ToLongTimeString ( this dt ) : string
dt this
리턴 string

ToShortDateString() 공개 정적인 메소드

Converts the value of the current DateTime object to its equivalent short date string representation.
public static ToShortDateString ( this dt ) : string
dt this
리턴 string

ToShortTimeString() 공개 정적인 메소드

Converts the value of the current DateTime object to its equivalent short time string representation.
public static ToShortTimeString ( this dt ) : string
dt this
리턴 string