Table of Contents

Method MicrosecondsFromTimestamp

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

MicrosecondsFromTimestamp(DateTimeOffset)

Converts an instant to a timestamp-micros, truncating sub-microsecond ticks.

public static long MicrosecondsFromTimestamp(DateTimeOffset timestamp)

Parameters

timestamp DateTimeOffset

The instant; its offset is taken into account.

Returns

long