Table of Contents

Struct AmqpTimestamp

Namespace
RabbitMQ.Client
Assembly
RabbitMQ.Client.dll

Structure holding an AMQP timestamp, a posix 64-bit time_t.

public struct AmqpTimestamp
Inherited Members

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

AmqpTimestamp(long)

Construct an AmqpTimestamp.

public AmqpTimestamp(long unixTime)

Parameters

unixTime long

Unix time.

Properties

UnixTime

Unix time.

public long UnixTime { get; }

Property Value

long

Methods

ToString()

Provides a debugger-friendly display.

public override string ToString()

Returns

string