Dropbox .NET SDK

Class TimeUnit

The time unit object

Inheritance
object
TimeUnit
TimeUnit.Days
TimeUnit.Hours
TimeUnit.Milliseconds
TimeUnit.Minutes
TimeUnit.Months
TimeUnit.Other
TimeUnit.Seconds
TimeUnit.Weeks
TimeUnit.Years
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class TimeUnit

Constructors

View Source

TimeUnit()

Initializes a new instance of the TimeUnit class.

Declaration
public TimeUnit()

Properties

View Source

AsDays

Gets this instance as a Days, or null.

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

AsHours

Gets this instance as a Hours, or null.

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

AsMilliseconds

Gets this instance as a Milliseconds, or null.

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

AsMinutes

Gets this instance as a Minutes, or null.

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

AsMonths

Gets this instance as a Months, or null.

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

AsOther

Gets this instance as a Other, or null.

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

AsSeconds

Gets this instance as a Seconds, or null.

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

AsWeeks

Gets this instance as a Weeks, or null.

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

AsYears

Gets this instance as a Years, or null.

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

IsDays

Gets a value indicating whether this instance is Days

Declaration
public bool IsDays { get; }
Property Value
Type Description
bool
View Source

IsHours

Gets a value indicating whether this instance is Hours

Declaration
public bool IsHours { get; }
Property Value
Type Description
bool
View Source

IsMilliseconds

Gets a value indicating whether this instance is Milliseconds

Declaration
public bool IsMilliseconds { get; }
Property Value
Type Description
bool
View Source

IsMinutes

Gets a value indicating whether this instance is Minutes

Declaration
public bool IsMinutes { get; }
Property Value
Type Description
bool
View Source

IsMonths

Gets a value indicating whether this instance is Months

Declaration
public bool IsMonths { get; }
Property Value
Type Description
bool
View Source

IsOther

Gets a value indicating whether this instance is Other

Declaration
public bool IsOther { get; }
Property Value
Type Description
bool
View Source

IsSeconds

Gets a value indicating whether this instance is Seconds

Declaration
public bool IsSeconds { get; }
Property Value
Type Description
bool
View Source

IsWeeks

Gets a value indicating whether this instance is Weeks

Declaration
public bool IsWeeks { get; }
Property Value
Type Description
bool
View Source

IsYears

Gets a value indicating whether this instance is Years

Declaration
public bool IsYears { get; }
Property Value
Type Description
bool
  • View Source
In this article
Back to top Dropbox .NET SDK