Click or drag to resize

LocalTime Class

Represents a local time value
Inheritance Hierarchy
SystemObject
  Neo4j.DriverTemporalValue
    Neo4j.DriverLocalTime

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
public sealed class LocalTime : TemporalValue, 
	IEquatable<LocalTime>, IComparable, IComparable<LocalTime>

The LocalTime type exposes the following members.

Constructors
  NameDescription
Public methodLocalTime(DateTime)
Initializes a new instance of LocalTime from time components of given DateTime
Public methodLocalTime(TimeSpan)
Initializes a new instance of LocalTime from given TimeSpan value
Public methodLocalTime(Int32, Int32, Int32)
Initializes a new instance of LocalTime from individual time components
Public methodLocalTime(Int32, Int32, Int32, Int32)
Initializes a new instance of LocalTime from individual time components
Top
Properties
  NameDescription
Public propertyHour
Gets the hour component of this instance.
Public propertyMinute
Gets the minute component of this instance.
Public propertyNanosecond
Gets the nanosecond component of this instance.
Public propertySecond
Gets the second component of this instance.
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares the value of this instance to a specified object which is expected to be a LocalTime value, and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified LocalTime value.
Public methodCompareTo(LocalTime)
Compares the value of this instance to a specified LocalTime value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified DateTime value.
Public methodEquals(Object)
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).)
Public methodEquals(LocalTime)
Returns a value indicating whether the value of this instance is equal to the value of the specified LocalTime instance.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodToString
Converts the value of the current LocalTime object to its equivalent string representation.
(Overrides ObjectToString.)
Public methodToTimeSpan
Converts this time value to a TimeSpan instance.
Top
Operators
  NameDescription
Public operatorStatic memberGreaterThan
Determines whether one specified LocalTime is later than another specified LocalTime.
Public operatorStatic memberGreaterThanOrEqual
Determines whether one specified LocalTime represents a duration that is the same as or earlier than the other specified LocalTime
Public operatorStatic memberLessThan
Determines whether one specified LocalTime is earlier than another specified LocalTime.
Public operatorStatic memberLessThanOrEqual
Determines whether one specified LocalTime represents a duration that is the same as or later than the other specified LocalTime
Top
Fields
  NameDescription
Public fieldStatic memberComparer
Default comparer for LocalTime values.
Top
See Also