| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TimeSpan StructureRepresents an interval in time.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Type |
|---|---|---|
| public static | MaxValue | TimeSpan |
| public static | MinValue | TimeSpan |
| public static const | TicksPerDay | Int64 |
| public static const | TicksPerHour | Int64 |
| public static const | TicksPerMillisecond | Int64 |
| public static const | TicksPerMinute | Int64 |
| public static const | TicksPerSecond | Int64 |
| public static | Zero | TimeSpan |
| Visibility | Name | Value Type | Accessibility |
|---|---|---|---|
| public | Days | Int32 | [ Get ] |
| public | Hours | Int32 | [ Get ] |
| public | Milliseconds | Int32 | [ Get ] |
| public | Minutes | Int32 | [ Get ] |
| public | Seconds | Int32 | [ Get ] |
| public | Ticks | Int64 | [ Get ] |
| public | TotalDays | Double | [ Get ] |
| public | TotalHours | Double | [ Get ] |
| public | TotalMilliseconds | Double | [ Get ] |
| public | TotalMinutes | Double | [ Get ] |
| public | TotalSeconds | Double | [ Get ] |
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| public | Add | ( TimeSpan ts ) | TimeSpan |
| public static | Compare | ( TimeSpan t1 , TimeSpan t2 ) | Int32 |
| public | CompareTo | ( TimeSpan value ) | Int32 |
| public | CompareTo | ( Object value ) | Int32 |
| public | Duration | ( ) | TimeSpan |
| public | Equals | ( Object value ) | Boolean |
| public static | Equals | ( TimeSpan t1 , TimeSpan t2 ) | Boolean |
| public | Equals | ( TimeSpan obj ) | Boolean |
| public static | FromDays | ( Double value ) | TimeSpan |
| public static | FromHours | ( Double value ) | TimeSpan |
| public static | FromMilliseconds | ( Double value ) | TimeSpan |
| public static | FromMinutes | ( Double value ) | TimeSpan |
| public static | FromSeconds | ( Double value ) | TimeSpan |
| public static | FromTicks | ( Int64 value ) | TimeSpan |
| public | GetHashCode | ( ) | Int32 |
| public | Negate | ( ) | TimeSpan |
| public static | Parse | ( String s ) | TimeSpan |
| public | Subtract | ( TimeSpan ts ) | TimeSpan |
| public | ToString | ( ) | String |
| public static | TryParse | ( String s , TimeSpan& result ) | Boolean |
The value of an instance of TimeSpan represents a period of time. That value is the number of "ticks" contained in the instance. A tick is the smallest unit of time that can be specified, and is equal to 100 nanoseconds. Both the specification of a number of ticks and the value of a TimeSpan can be positive or negative.
This value type implements the IComparable interface.
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme