C# 클래스 Patterns.Runtime.DefaultDateTimeInfo

Defines a default implementation of the IDateTimeInfo interface.
상속: IDateTimeInfo
파일 보기 프로젝트 열기: patterns-group/code-patterns

공개 메소드들

메소드 설명
GetNow ( ) : System.DateTime

Gets the DateTime value representing "now".

GetUtcNow ( ) : System.DateTime

Gets the Coordinated Universal Time (UTC) DateTime value representing "now".

메소드 상세

GetNow() 공개 메소드

Gets the DateTime value representing "now".
public GetNow ( ) : System.DateTime
리턴 System.DateTime

GetUtcNow() 공개 메소드

Gets the Coordinated Universal Time (UTC) DateTime value representing "now".
public GetUtcNow ( ) : System.DateTime
리턴 System.DateTime