Class TimeUnit
The time unit object
Inheritance
Inherited Members
Namespace: Dropbox.Api.TeamLog
Assembly: Dropbox.Api.dll
Syntax
public class TimeUnit
Constructors
| Improve this Doc View SourceTimeUnit()
Initializes a new instance of the TimeUnit class.
Declaration
public TimeUnit()
Properties
| Improve this Doc View SourceAsDays
Gets this instance as a Days, or null
.
Declaration
public TimeUnit.Days AsDays { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Days |
AsHours
Gets this instance as a Hours, or null
.
Declaration
public TimeUnit.Hours AsHours { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Hours |
AsMilliseconds
Gets this instance as a Milliseconds, or null
.
Declaration
public TimeUnit.Milliseconds AsMilliseconds { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Milliseconds |
AsMinutes
Gets this instance as a Minutes, or null
.
Declaration
public TimeUnit.Minutes AsMinutes { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Minutes |
AsMonths
Gets this instance as a Months, or null
.
Declaration
public TimeUnit.Months AsMonths { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Months |
AsOther
Gets this instance as a Other, or null
.
Declaration
public TimeUnit.Other AsOther { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Other |
AsSeconds
Gets this instance as a Seconds, or null
.
Declaration
public TimeUnit.Seconds AsSeconds { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Seconds |
AsWeeks
Gets this instance as a Weeks, or null
.
Declaration
public TimeUnit.Weeks AsWeeks { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Weeks |
AsYears
Gets this instance as a Years, or null
.
Declaration
public TimeUnit.Years AsYears { get; }
Property Value
Type | Description |
---|---|
TimeUnit.Years |
IsDays
Gets a value indicating whether this instance is Days
Declaration
public bool IsDays { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsHours
Gets a value indicating whether this instance is Hours
Declaration
public bool IsHours { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsMilliseconds
Gets a value indicating whether this instance is Milliseconds
Declaration
public bool IsMilliseconds { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsMinutes
Gets a value indicating whether this instance is Minutes
Declaration
public bool IsMinutes { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsMonths
Gets a value indicating whether this instance is Months
Declaration
public bool IsMonths { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsOther
Gets a value indicating whether this instance is Other
Declaration
public bool IsOther { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSeconds
Gets a value indicating whether this instance is Seconds
Declaration
public bool IsSeconds { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsWeeks
Gets a value indicating whether this instance is Weeks
Declaration
public bool IsWeeks { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsYears
Gets a value indicating whether this instance is Years
Declaration
public bool IsYears { get; }
Property Value
Type | Description |
---|---|
System.Boolean |