construct a TimeSpan from the current fields
internal routine to adjust ticks by one day. Also adjusts for offsets in the BC era
constructor.
constructor.
hours component of the time of day. This should be between 0 and 23, inclusive.
milliseconds component of the time of day. This should be between 0 and 999, inclusive.
minutes component of the time of day. This should be between 0 and 59, inclusive.
seconds component of the time of day. This should be between 0 and 59, inclusive.
Represents a time of day. This is different from TimeSpan in that each component is represented within the limits of everyday time, rather than from the start of the Epoch. Effectively, the TimeOfDay epoch is the first second of each day.
This is handy for dealing strictly with a 24-hour clock instead of potentially thousands of years. For example:
You can create a TimeOfDay from an existing Time or TimeSpan instance via the respective time() method. To convert back to a TimeSpan, use the span() method