C# 클래스 AppVeyor.Common.Extensions.DateTimeExtensions

파일 보기 프로젝트 열기: onlyutkarsh/AppVeyorExtension

공개 메소드들

메소드 설명
Ceil ( this date, System.TimeSpan span ) : System.DateTime
Floor ( this date, System.TimeSpan span ) : System.DateTime
GetHumanizedRunningFromTime ( this startedTime ) : string
PrettyDate ( this timeSubmitted ) : string
Round ( this date, System.TimeSpan span ) : System.DateTime

메소드 상세

Ceil() 공개 정적인 메소드

public static Ceil ( this date, System.TimeSpan span ) : System.DateTime
date this
span System.TimeSpan
리턴 System.DateTime

Floor() 공개 정적인 메소드

public static Floor ( this date, System.TimeSpan span ) : System.DateTime
date this
span System.TimeSpan
리턴 System.DateTime

GetHumanizedRunningFromTime() 공개 정적인 메소드

public static GetHumanizedRunningFromTime ( this startedTime ) : string
startedTime this
리턴 string

PrettyDate() 공개 정적인 메소드

public static PrettyDate ( this timeSubmitted ) : string
timeSubmitted this
리턴 string

Round() 공개 정적인 메소드

public static Round ( this date, System.TimeSpan span ) : System.DateTime
date this
span System.TimeSpan
리턴 System.DateTime