C# Class AppVeyor.Common.Extensions.DateTimeExtensions

Afficher le fichier Open project: onlyutkarsh/AppVeyorExtension

Méthodes publiques

Méthode Description
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

Method Details

Ceil() public static méthode

public static Ceil ( this date, System.TimeSpan span ) : System.DateTime
date this
span System.TimeSpan
Résultat System.DateTime

Floor() public static méthode

public static Floor ( this date, System.TimeSpan span ) : System.DateTime
date this
span System.TimeSpan
Résultat System.DateTime

GetHumanizedRunningFromTime() public static méthode

public static GetHumanizedRunningFromTime ( this startedTime ) : string
startedTime this
Résultat string

PrettyDate() public static méthode

public static PrettyDate ( this timeSubmitted ) : string
timeSubmitted this
Résultat string

Round() public static méthode

public static Round ( this date, System.TimeSpan span ) : System.DateTime
date this
span System.TimeSpan
Résultat System.DateTime