Table of Contents

Method PeriodStartAt

Namespace
MailFathom.Application.Emails.Embeddings.Limits
Assembly
MailFathom.Application.dll

PeriodStartAt(DateTimeOffset)

Finds the start of the period an instant falls in, which is the key the consumed total is counted under.

public DateTimeOffset PeriodStartAt(DateTimeOffset instant)

Parameters

instant DateTimeOffset

The moment to place in a period.

Returns

DateTimeOffset

The period's start, in UTC.

Remarks

Anchored at the Unix epoch so that every process of a deployment, and every restart of one, agrees on where a period begins without anything having to be stored to say so.