Table of Contents

Method StatedZoneOf

Namespace
MailFathom.Application.Access
Assembly
MailFathom.Application.dll

StatedZoneOf(UserId)

Finds the zone one person's own record states, where it states one.

UserTimeZone? StatedZoneOf(UserId user)

Parameters

user UserId

The user whose record is being read.

Returns

UserTimeZone

The stated zone, or null where the record states none and where this deployment serves no such user.

Remarks

The same question ZoneOf(UserId) answers, asked without the fallback, and it exists because one caller acts on the difference: a client offers somebody the zone their own machine reports exactly once, when nobody has asked them yet, and a deployment that could not tell that apart from a chosen UTC would offer it over a choice. Every other caller wants a zone rather than a fact about a record and asks ZoneOf(UserId).