C# 클래스 TimeSpanExtension, Adnc

파일 보기 프로젝트 열기: AlphaYu/Adnc 1 사용 예제들

공개 메소드들

메소드 설명
Ago ( TimeSpan, @this ) : DateTime,

A TimeSpan extension method that substract the specified TimeSpan to the current DateTime.

FromNow ( TimeSpan, @this ) : DateTime,

A TimeSpan extension method that add the specified TimeSpan to the current DateTime.

UtcAgo ( TimeSpan, @this ) : DateTime,

A TimeSpan extension method that substract the specified TimeSpan to the current UTC (Coordinated Universal Time)

UtcFromNow ( TimeSpan, @this ) : DateTime,

A TimeSpan extension method that add the specified TimeSpan to the current UTC (Coordinated Universal Time)

메소드 상세

Ago() 공개 정적인 메소드

A TimeSpan extension method that substract the specified TimeSpan to the current DateTime.
public static Ago ( TimeSpan, @this ) : DateTime,
@this TimeSpan,
리턴 DateTime,

FromNow() 공개 정적인 메소드

A TimeSpan extension method that add the specified TimeSpan to the current DateTime.
public static FromNow ( TimeSpan, @this ) : DateTime,
@this TimeSpan,
리턴 DateTime,

UtcAgo() 공개 정적인 메소드

A TimeSpan extension method that substract the specified TimeSpan to the current UTC (Coordinated Universal Time)
public static UtcAgo ( TimeSpan, @this ) : DateTime,
@this TimeSpan,
리턴 DateTime,

UtcFromNow() 공개 정적인 메소드

A TimeSpan extension method that add the specified TimeSpan to the current UTC (Coordinated Universal Time)
public static UtcFromNow ( TimeSpan, @this ) : DateTime,
@this TimeSpan,
리턴 DateTime,