Click or drag to resize
LocalTime Class
A time without a time-zone in the ISO-8601 calendar system, such as 10:30:05. LocalTime is an immutable date-time object that represents a time, often viewed as hour-minute-second. Time is represented to nanosecond precision. For example, the value "13:45.30.123456789" can be stored in a LocalTime.
Inheritance Hierarchy
SystemObject
  CassandraLocalTime

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public class LocalTime : IComparable<LocalTime>, 
	IEquatable<LocalTime>

The LocalTime type exposes the following members.

Constructors
  NameDescription
Public methodLocalTime(Int64)
Creates a new instance based on nanoseconds since midnight.
Public methodLocalTime(Int32, Int32, Int32, Int32)
Creates a new instance based on the specified hour, minutes, seconds, millis and nanoseconds.
Top
Methods
  NameDescription
Public methodCompareTo
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodEquals(LocalTime)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodStatic memberParse
Creates a new LocalTime instance based on the string representation.
Public methodToString (Overrides ObjectToString.)
Top
Operators
Properties
  NameDescription
Public propertyHour
Gets the hour component of the time represented by the current instance, a number from 0 to 23.
Public propertyMinute
Gets the minute component of the time represented by the current instance, a number from 0 to 59.
Public propertyNanoseconds
Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999,999,999.
Public propertySecond
Gets the second component of the time represented by the current instance, a number from 0 to 59.
Public propertyTotalNanoseconds
Gets the number of nanoseconds since midnight.
Top
See Also