Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TimeSpanExtensions

    The TimeSpanExtensions class.

    Inheritance
    System.Object
    TimeSpanExtensions
    Namespace: Emby.Media.Common.Extensions
    Assembly: Emby.Media.Model.dll
    Syntax
    public static class TimeSpanExtensions

    Methods

    days(Double)

    Declaration
    public static TimeSpan days(this double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.TimeSpan

    days(Int32)

    Declaration
    public static TimeSpan days(this int value)
    Parameters
    Type Name Description
    System.Int32 value
    Returns
    Type Description
    System.TimeSpan

    hours(Double)

    Declaration
    public static TimeSpan hours(this double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.TimeSpan

    hours(Int32)

    Declaration
    public static TimeSpan hours(this int value)
    Parameters
    Type Name Description
    System.Int32 value
    Returns
    Type Description
    System.TimeSpan

    minutes(Double)

    Declaration
    public static TimeSpan minutes(this double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.TimeSpan

    minutes(Int32)

    Declaration
    public static TimeSpan minutes(this int value)
    Parameters
    Type Name Description
    System.Int32 value
    Returns
    Type Description
    System.TimeSpan

    ms(Double)

    Declaration
    public static TimeSpan ms(this double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.TimeSpan

    ms(Int32)

    Declaration
    public static TimeSpan ms(this int value)
    Parameters
    Type Name Description
    System.Int32 value
    Returns
    Type Description
    System.TimeSpan

    seconds(Double)

    Declaration
    public static TimeSpan seconds(this double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    System.TimeSpan

    seconds(Int32)

    Declaration
    public static TimeSpan seconds(this int value)
    Parameters
    Type Name Description
    System.Int32 value
    Returns
    Type Description
    System.TimeSpan

    SecondsAsTimeSpan(Decimal)

    Declaration
    public static TimeSpan SecondsAsTimeSpan(this decimal dec)
    Parameters
    Type Name Description
    System.Decimal dec
    Returns
    Type Description
    System.TimeSpan

    SecondsAsTimeSpan(Double)

    Declaration
    public static TimeSpan SecondsAsTimeSpan(this double dbl)
    Parameters
    Type Name Description
    System.Double dbl
    Returns
    Type Description
    System.TimeSpan

    SecondsAsTimeSpan(Nullable<Decimal>)

    Declaration
    public static TimeSpan? SecondsAsTimeSpan(this decimal? dec)
    Parameters
    Type Name Description
    System.Nullable<System.Decimal> dec
    Returns
    Type Description
    System.Nullable<System.TimeSpan>

    SecondsAsTimeSpan(Nullable<Double>)

    Declaration
    public static TimeSpan? SecondsAsTimeSpan(this double? dbl)
    Parameters
    Type Name Description
    System.Nullable<System.Double> dbl
    Returns
    Type Description
    System.Nullable<System.TimeSpan>
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.