Property | Type | Description | |
---|---|---|---|
MinuteSpan | List |
Method | Description | |
---|---|---|
RoundDateToMinuteInterval ( System.DateTime time, long minuteInterval, RoundingDirection direction ) : System.DateTime |
Rounds a date value to a given minute interval
|
Method | Description | |
---|---|---|
GetInterval ( double th ) : long |
Get nearby interval for a given timespan difference
|
public static RoundDateToMinuteInterval ( System.DateTime time, long minuteInterval, RoundingDirection direction ) : System.DateTime | ||
time | System.DateTime | Original time value |
minuteInterval | long | Number of minutes to round up or down to |
direction | RoundingDirection | |
return | System.DateTime |