![]() |
Ticks Methods |
The Ticks type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
AlignToMicrosecondDistribution | Returns a floor-aligned microsecond distribution timestamp for given timestamp. |
![]() ![]() |
AlignToMillisecondDistribution | Returns a floor-aligned millisecond distribution timestamp for given timestamp. |
![]() ![]() |
AlignToSubsecondDistribution | Returns a floor-aligned sub-second distribution timestamp for given timestamp. |
![]() |
BaselinedTimestamp | Creates a new Ticks value that represents a base-lined timestamp, in 100-nanoseconds intervals, that begins at the beginning of the specified time interval. |
![]() |
CompareTo(DateTime) | Compares this instance to a specified DateTime and returns an indication of their relative values. |
![]() |
CompareTo(Int64) | Compares this instance to a specified Int64 and returns an indication of their relative values. |
![]() |
CompareTo(Object) | Compares this instance to a specified object and returns an indication of their relative values. |
![]() |
CompareTo(Ticks) | Compares this instance to a specified Ticks and returns an indication of their relative values. |
![]() |
CompareTo(TimeSpan) | Compares this instance to a specified TimeSpan and returns an indication of their relative values. |
![]() |
DistanceBeyondSecond | Gets the distance, in 100-nanoseconds intervals, beyond the top of the second in the timestamp represented by the Ticks. |
![]() |
Equals(DateTime) | Returns a value indicating whether this instance is equal to a specified DateTime value. |
![]() |
Equals(Int64) | Returns a value indicating whether this instance is equal to a specified Int64 value. |
![]() |
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object)) |
![]() |
Equals(Ticks) | Returns a value indicating whether this instance is equal to a specified Ticks value. |
![]() |
Equals(TimeSpan) | Returns a value indicating whether this instance is equal to a specified TimeSpan value. |
![]() ![]() |
FromMicroseconds | Creates a new Ticks from the specified value in microseconds. |
![]() ![]() |
FromMilliseconds | Creates a new Ticks from the specified value in milliseconds. |
![]() ![]() |
FromSeconds | Creates a new Ticks from the specified value in seconds. |
![]() |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() |
GetTypeCode | Returns the TypeCode for value type Int64. |
![]() |
LocalTimeIsValid(Double, Double) | Determines if time, represented by Ticks value in local time, is valid by comparing it to the system clock. |
![]() |
LocalTimeIsValid(Ticks, Ticks) | Determines if time, represented by Ticks value in local time, is valid by comparing it to the system clock. |
![]() ![]() |
MicrosecondDistribution | Gets a sub-second time distribution in microseconds for the specified samplesPerSecond. |
![]() ![]() |
MillisecondDistribution | Gets a sub-second time distribution in milliseconds for the specified samplesPerSecond. |
![]() ![]() |
Parse(String) | Converts the string representation of a number to its Ticks equivalent. |
![]() ![]() |
Parse(String, NumberStyles) | Converts the string representation of a number in a specified style to its Ticks equivalent. |
![]() ![]() |
Parse(String, IFormatProvider) | Converts the string representation of a number in a specified culture-specific format to its Ticks equivalent. |
![]() ![]() |
Parse(String, NumberStyles, IFormatProvider) | Converts the string representation of a number in a specified style and culture-specific format to its Ticks equivalent. |
![]() ![]() |
RoundToSecondDistribution | Returns the nearest distribution timestamp for given timestamp. |
![]() ![]() |
RoundToSubsecondDistribution | Returns the nearest sub-second distribution timestamp for given timestamp. |
![]() ![]() |
SubsecondDistribution | Gets a sub-second time distribution in Ticks for the specified samplesPerSecond. |
![]() |
TimeIsValid(Ticks, Ticks, Ticks) | Determines if time, represented by Ticks value, is valid by comparing it to the specified current time. |
![]() |
TimeIsValid(Ticks, Double, Double) | Determines if time, represented by Ticks value, is valid by comparing it to the specified current time. |
![]() |
ToDays | Gets the Ticks value in equivalent number of days. |
![]() |
ToElapsedTimeString | Converts the Ticks value into a textual representation of years, days, hours, minutes and seconds. |
![]() |
ToElapsedTimeString(Int32, Double) | Converts the Ticks value into a textual representation of years, days, hours, minutes and seconds with the specified number of fractional digits. |
![]() |
ToElapsedTimeString(Int32, String, Double) | Converts the Ticks value into a textual representation of years, days, hours, minutes and seconds with the specified number of fractional digits given string array of time names. |
![]() |
ToHours | Gets the Ticks value in equivalent number of hours. |
![]() |
ToMicroseconds | Gets the Ticks value in equivalent number of microseconds. |
![]() ![]() |
ToMicroseconds(Ticks) | Converts value, in 100-nanosecond tick intervals, to microseconds. |
![]() |
ToMilliseconds | Gets the Ticks value in equivalent number of milliseconds. |
![]() ![]() |
ToMilliseconds(Ticks) | Converts value, in 100-nanosecond tick intervals, to milliseconds. |
![]() |
ToMinutes | Gets the Ticks value in equivalent number of minutes. |
![]() ![]() |
ToSecondDistribution | Returns the distribution timestamp for given timestamp or MinValue if there is no TS within the specified Tolerance. |
![]() |
ToSeconds | Gets the Ticks value in equivalent number of seconds. |
![]() ![]() |
ToSeconds(Ticks) | Converts value, in 100-nanosecond tick intervals, to seconds. |
![]() |
ToString |
Converts the value of the Ticks value to its equivalent DateTime string representation.
(Overrides ValueTypeToString) |
![]() |
ToString(IFormatProvider) | Converts the Ticks value to its equivalent string representation, using the specified culture-specific DateTime format information. |
![]() |
ToString(String) | Converts the Ticks value to its equivalent string representation, using the specified DateTime format. |
![]() |
ToString(String, IFormatProvider) | Converts the Ticks value to its equivalent string representation, using specified format and culture-specific DateTime format information. |
![]() ![]() |
TryParse(String, Ticks) | Converts the string representation of a number to its Ticks equivalent. A return value indicates whether the conversion succeeded or failed. |
![]() ![]() |
TryParse(String, NumberStyles, IFormatProvider, Ticks) | Converts the string representation of a number in a specified style and culture-specific format to its Ticks equivalent. A return value indicates whether the conversion succeeded or failed. |
![]() |
UtcTimeIsValid(Double, Double) | Determines if time, represented by Ticks value in UTC time, is valid by comparing it to the system clock. |
![]() |
UtcTimeIsValid(Ticks, Ticks) | Determines if time, represented by Ticks value in UTC time, is valid by comparing it to the system clock. |
Name | Description | |
---|---|---|
![]() |
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |