Table of Contents

Constructor LocalDateTime

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

LocalDateTime(DateTime)

Initializes a new instance of LocalDateTime from given DateTime value.

public LocalDateTime(DateTime dateTime)

Parameters

dateTime DateTime

Remarks

The value of Kind has no effect. Date and time component values will be used without any explicit conversions (i.e. we treat Kind as if Local).

LocalDateTime(int, int, int, int, int, int)

Initializes a new instance of LocalDateTime from individual date time component values

public LocalDateTime(int year, int month, int day, int hour, int minute, int second)

Parameters

year int
month int
day int
hour int
minute int
second int

LocalDateTime(int, int, int, int, int, int, int)

Initializes a new instance of LocalDateTime from individual date time

public LocalDateTime(int year, int month, int day, int hour, int minute, int second, int nanosecond)

Parameters

year int
month int
day int
hour int
minute int
second int
nanosecond int