Interface IUserTimeZones
- Namespace
- MailFathom.Application.Access
- Assembly
- MailFathom.Application.dll
Answers which zone one person's own days are read in.
public interface IUserTimeZones
Remarks
It is a port for the reason IUserLanguages is one, and it is answered the same way: the value comes out of that user's record, which is the host's, while every operation that has to resolve a relative period lives above it. Resolution is synchronous and reaches no database, so an agent about to state its anchor never puts a read in front of the call it is about to make.
There is no mail account's zone beside it, deliberately. What is derived from a mailbox already has a better anchor than a configured zone would be — a message's own arrival instant, carrying the sender's offset — and an account zone would only become worth having at a background derivation with no signed-in person and no instant in the data.
A user this deployment does not serve is answered with Coordinated rather than with nothing, which is the same answer a record held from before the zone was asked for reads as. One value covers both, so an operation resolving a period always has a zone and never one it had to decide for itself.
Methods
- StatedZoneOf(UserId)
Finds the zone one person's own record states, where it states one.
- ZoneOf(UserId)
Finds the zone one person's own days are read in.