Show / Hide Table of Contents

    Class TimeSpanExtensions

    Static class that contains helper methods for System.TimeSpans.

    Inheritance
    System.Object
    TimeSpanExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Scheduling.Contracts.Extensions
    Assembly: Fibula.Scheduling.Contracts.dll
    Syntax
    public static class TimeSpanExtensions

    Methods

    | Improve this Doc View Source

    Round(TimeSpan, TimeSpan)

    Rounds the given time span by another.

    Declaration
    public static TimeSpan Round(this TimeSpan timeSpan, TimeSpan roundBy)
    Parameters
    Type Name Description
    System.TimeSpan timeSpan

    The time span to round.

    System.TimeSpan roundBy

    The time span to round by.

    Returns
    Type Description
    System.TimeSpan

    The rounded time.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.