Show / Hide Table of Contents

Class TimeUnit

The time unit object

Inheritance
System.Object
TimeUnit
TimeUnit.Days
TimeUnit.Hours
TimeUnit.Milliseconds
TimeUnit.Minutes
TimeUnit.Months
TimeUnit.Other
TimeUnit.Seconds
TimeUnit.Weeks
TimeUnit.Years
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: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class TimeUnit

Constructors

| Improve this Doc View Source

TimeUnit()

Initializes a new instance of the TimeUnit class.

Declaration
public TimeUnit()

Properties

| Improve this Doc View Source

AsDays

Gets this instance as a Days, or null.

Declaration
public TimeUnit.Days AsDays { get; }
Property Value
Type Description
TimeUnit.Days
| Improve this Doc View Source

AsHours

Gets this instance as a Hours, or null.

Declaration
public TimeUnit.Hours AsHours { get; }
Property Value
Type Description
TimeUnit.Hours
| Improve this Doc View Source

AsMilliseconds

Gets this instance as a Milliseconds, or null.

Declaration
public TimeUnit.Milliseconds AsMilliseconds { get; }
Property Value
Type Description
TimeUnit.Milliseconds
| Improve this Doc View Source

AsMinutes

Gets this instance as a Minutes, or null.

Declaration
public TimeUnit.Minutes AsMinutes { get; }
Property Value
Type Description
TimeUnit.Minutes
| Improve this Doc View Source

AsMonths

Gets this instance as a Months, or null.

Declaration
public TimeUnit.Months AsMonths { get; }
Property Value
Type Description
TimeUnit.Months
| Improve this Doc View Source

AsOther

Gets this instance as a Other, or null.

Declaration
public TimeUnit.Other AsOther { get; }
Property Value
Type Description
TimeUnit.Other
| Improve this Doc View Source

AsSeconds

Gets this instance as a Seconds, or null.

Declaration
public TimeUnit.Seconds AsSeconds { get; }
Property Value
Type Description
TimeUnit.Seconds
| Improve this Doc View Source

AsWeeks

Gets this instance as a Weeks, or null.

Declaration
public TimeUnit.Weeks AsWeeks { get; }
Property Value
Type Description
TimeUnit.Weeks
| Improve this Doc View Source

AsYears

Gets this instance as a Years, or null.

Declaration
public TimeUnit.Years AsYears { get; }
Property Value
Type Description
TimeUnit.Years
| Improve this Doc View Source

IsDays

Gets a value indicating whether this instance is Days

Declaration
public bool IsDays { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsHours

Gets a value indicating whether this instance is Hours

Declaration
public bool IsHours { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsMilliseconds

Gets a value indicating whether this instance is Milliseconds

Declaration
public bool IsMilliseconds { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsMinutes

Gets a value indicating whether this instance is Minutes

Declaration
public bool IsMinutes { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsMonths

Gets a value indicating whether this instance is Months

Declaration
public bool IsMonths { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsOther

Gets a value indicating whether this instance is Other

Declaration
public bool IsOther { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSeconds

Gets a value indicating whether this instance is Seconds

Declaration
public bool IsSeconds { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsWeeks

Gets a value indicating whether this instance is Weeks

Declaration
public bool IsWeeks { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsYears

Gets a value indicating whether this instance is Years

Declaration
public bool IsYears { get; }
Property Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • TimeUnit()
  • Properties
    • AsDays
    • AsHours
    • AsMilliseconds
    • AsMinutes
    • AsMonths
    • AsOther
    • AsSeconds
    • AsWeeks
    • AsYears
    • IsDays
    • IsHours
    • IsMilliseconds
    • IsMinutes
    • IsMonths
    • IsOther
    • IsSeconds
    • IsWeeks
    • IsYears
Back to top Generated by DocFX