Table of Contents

Namespace SampSharp.OpenMp.Core.Std.Chrono

Classes

HoursMarshaller

Represents a marshaller entrypoint for marshalling TimeSpan to a native Hours structure.

HoursMarshaller.ManagedToNative
HoursMarshaller.NativeToManaged
MicrosecondsMarshaller

Represents a marshaller entrypoint for marshalling TimeSpan to a native Microseconds structure.

MicrosecondsMarshaller.ManagedToNative
MicrosecondsMarshaller.NativeToManaged
MillisecondsMarshaller

Represents a marshaller entrypoint for marshalling TimeSpan to a native Milliseconds structure.

MillisecondsMarshaller.ManagedToNative
MillisecondsMarshaller.NativeToManaged
MinutesMarshaller

Represents a marshaller entrypoint for marshalling TimeSpan to a native Minutes structure.

MinutesMarshaller.ManagedToNative
MinutesMarshaller.NativeToManaged
SecondsMarshaller

Represents a marshaller entrypoint for marshalling TimeSpan to a native Seconds structure.

SecondsMarshaller.ManagedToNative
SecondsMarshaller.NativeToManaged
TimePointMarshaller

Represents a marshaller entrypoint for marshalling DateTimeOffset to a native TimePoint structure.

TimePointMarshaller.ManagedToNative
TimePointMarshaller.NativeToManaged

Structs

Hours

Represents a duration in hours which is represented in memory like an std::chrono::hours from the C++ standard library. MSVC uses duration<int, ratio<3600>>, so the layout is a single 32-bit int.

Microseconds

Represents a duration in microseconds which is represented in memory like an std::chrono::Microseconds from the C++ standard library.

Milliseconds

Represents a duration in milliseconds which is represented in memory like an std::chrono::Milliseconds from the C++ standard library.

Minutes

Represents a duration in minutes which is represented in memory like an std::chrono::minutes from the C++ standard library. MSVC uses duration<int, ratio<60>>, so the layout is a single 32-bit int.

Seconds

Represents a duration in seconds which is represented in memory like an std::chrono::Seconds from the C++ standard library.

TimePoint

Represents a point in time which is represented in memory like an std::chrono::TimePoint from the C++ standard library.