Interface ILockTimeRounding
Interface for classes that want to implement custom rounding
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface ILockTimeRounding
Methods
| Improve this Doc View SourceRound(DateTime)
The rounding implementation
Declaration
DateTime Round(DateTime dt)
Parameters
Type | Name | Description |
---|---|---|
DateTime | dt | The date and time to round |
Returns
Type | Description |
---|---|
DateTime | The new DateTime |
Round(TimeSpan)
The rounding implementation
Declaration
TimeSpan Round(TimeSpan ts)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | ts | The time span to round |
Returns
Type | Description |
---|---|
TimeSpan | The new timestamp |