public static TrimToHour ( this moment, int hour ) : System.DateTime | ||
moment | this | |
hour | int | |
return | System.DateTime |
private static DateTime GetDefaultStartDate(IClock clock) { clock = clock ?? ClockProxy.Clock; var now = clock.Now; return(TimeTool.TrimToHour(now, 8)); }