C# Class SanderVantEinde.TelegramBot.TaskMomentExtensions

Show file Open project: sandervanteinde/TelegramBot

Public Methods

Method Description
GetTimeSpan ( this moment ) : System.TimeSpan
RemoveMinutes ( this date ) : System.DateTime
RemoveSeconds ( this seconds ) : System.DateTime

Private Methods

Method Description
GetInfo ( this moment ) : TimeSpan>.Tuple

Method Details

GetTimeSpan() public static method

public static GetTimeSpan ( this moment ) : System.TimeSpan
moment this
return System.TimeSpan

RemoveMinutes() public static method

public static RemoveMinutes ( this date ) : System.DateTime
date this
return System.DateTime

RemoveSeconds() public static method

public static RemoveSeconds ( this seconds ) : System.DateTime
seconds this
return System.DateTime