Struct AmqpTimestamp
Structure holding an AMQP timestamp, a posix 64-bit time_t.
Inherited Members
Namespace: RabbitMQ.Client
Assembly: Apigen.dll
Syntax
public struct AmqpTimestamp
Remarks
When converting between an AmqpTimestamp and a System.DateTime, be aware of the effect of your local timezone. In particular, different versions of the .NET framework assume different defaults.
We have chosen a signed 64-bit time_t here, since the AMQP specification through versions 0-9 is silent on whether timestamps are signed or unsigned.
Constructors
| Edit this page View SourceAmqpTimestamp(long)
Construct an AmqpTimestamp.
Declaration
public AmqpTimestamp(long unixTime)
Parameters
Type | Name | Description |
---|---|---|
long | unixTime | Unix time. |
Properties
| Edit this page View SourceUnixTime
Unix time.
Declaration
public readonly long UnixTime { get; }
Property Value
Type | Description |
---|---|
long |
Methods
| Edit this page View SourceToString()
Provides a debugger-friendly display.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |