Class IndexEntryTime
The modification or creation time of an index entry.
Inheritance
System.Object
IndexEntryTime
Namespace: Dogged
Assembly: Dogged.dll
Syntax
public class IndexEntryTime : object
Constructors
| Improve this Doc View SourceIndexEntryTime(Int32, Int64)
Creates an index entry time.
Declaration
public IndexEntryTime(int seconds, long nanoseconds = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | seconds | The number of seconds since the Unix epoch |
System.Int64 | nanoseconds | The nanoseconds portion of the timestamp |
Fields
| Improve this Doc View SourceEpoch
The unix epoch, midnight of January 1, 1970.
Declaration
public static IndexEntryTime Epoch
Field Value
Type | Description |
---|---|
IndexEntryTime |
Properties
| Improve this Doc View SourceNanoseconds
Gets the nanosecond portion of the timestamp if the index is using high-resolution times.
Declaration
public long Nanoseconds { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Seconds
Gets the number of seconds since the Unix epoch.
Declaration
public int Seconds { get; }
Property Value
Type | Description |
---|---|
System.Int32 |