Struct BSONTimestamp
Represents a BSON timestamp type
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Serialization.BSON
Assembly: Azos.dll
Syntax
public struct BSONTimestamp : IJSONWritable
Constructors
BSONTimestamp(DateTime, UInt32)
Declaration
public BSONTimestamp(DateTime value, uint increment)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value | |
System.UInt32 | increment |
Fields
EpochSeconds
Declaration
public readonly uint EpochSeconds
Field Value
Type | Description |
---|---|
System.UInt32 |
Increment
Declaration
public readonly uint Increment
Field Value
Type | Description |
---|---|
System.UInt32 |
Methods
WriteAsJSON(TextWriter, Int32, JSONWritingOptions)
Declaration
public void WriteAsJSON(TextWriter wri, int nestingLevel, JSONWritingOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | wri | |
System.Int32 | nestingLevel | |
JSONWritingOptions | options |