Specifies the default unit to use for a System.TimeSpan property.
Name | Description | |
---|---|---|
TimeSpanUnitAttribute(TimeSpanUnit unit) |
Initializes a new instance of the TimeSpanUnitAttribute class. |
Name | Description | |
---|---|---|
Unit |
Gets the unit. |
Name | Description | |
---|---|---|
GetTimeSpan(double value) |
Gets the timespan from the specified value. |