Table of Contents

Method MillisecondsFromTime

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

MillisecondsFromTime(TimeSpan)

Converts a time of day to a time-millis, truncating sub-millisecond ticks.

public static int MillisecondsFromTime(TimeSpan time)

Parameters

time TimeSpan

A time of day, from zero up to (not including) 24 hours.

Returns

int