C# Class Optimus.Extensions.DateTimeExtensions

显示文件 Open project: TimGeyssens/BundlingAndMinificationForTheMasses

Public Methods

Method Description
Ceil ( this date, System.TimeSpan span ) : System.DateTime
Floor ( this date, System.TimeSpan span ) : System.DateTime
Round ( this date, System.TimeSpan span ) : System.DateTime

Method Details

Ceil() public static method

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

Floor() public static method

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

Round() public static method

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