C# 클래스 Cedar.Core.TimeConverter

A helper class to perform UTC time and local time transformation.
파일 보기 프로젝트 열기: Chinaccn/surfboard

공개 메소드들

메소드 설명
ConvertAfterQuery ( System.DateTime time ) : System.DateTime

Transforms the after retrieval from database.

ConvertBeforeSaving ( System.DateTime dateTime ) : System.DateTime

Transforms the before saving.

IsIngoredDate ( System.DateTime dateTime ) : bool

Determines whether date is ingored date.

메소드 상세

ConvertAfterQuery() 공개 정적인 메소드

Transforms the after retrieval from database.
public static ConvertAfterQuery ( System.DateTime time ) : System.DateTime
time System.DateTime The time.
리턴 System.DateTime

ConvertBeforeSaving() 공개 정적인 메소드

Transforms the before saving.
public static ConvertBeforeSaving ( System.DateTime dateTime ) : System.DateTime
dateTime System.DateTime The time to convert.
리턴 System.DateTime

IsIngoredDate() 공개 정적인 메소드

Determines whether date is ingored date.
public static IsIngoredDate ( System.DateTime dateTime ) : bool
dateTime System.DateTime The date time.
리턴 bool