Show / Hide Table of Contents

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 Source

Round(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

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX