Show / Hide Table of Contents

Enum TimeZoneInterpretation

How should a date/time field be interpreted in the database

Namespace: SoCore.Shared.CRM.Services
Assembly: SoCore.dll
Syntax
public enum TimeZoneInterpretation

Fields

Name Description
AbsoluteUTC

Treat as UTC and never convert it to or from anything. Currently only used for the synthetic BirthDate field on Person

SalesBaseTime

This datetime should be interpreted as being relative to the Base Time Zone, defined in table BASETZLOCATION

ServiceBaseTime

This datetime should be interpreted as being relative to the Service Base Time. Until further notice this is the same as the server local time, which is not an ideal situation; but that is how eJournal/Service actually works

TimeOnly

Only the Time part of this field is used; the Date part is ignored. You can set the desired Date handling through further constructor parameters

UTC

This datetime should be interpreted as UTC. Valid if and only if the DictFieldType is DictFieldType.UtcDateTime; breaking this rule will cause runtime errors during database upgrade!

Extension Methods

EnumUtil.MapEnums<TimeZoneInterpretation, To>(TimeZoneInterpretation)
Converters.MapEnums<TimeZoneInterpretation, To>(TimeZoneInterpretation)
ObjectExtensions.AssignByReflection<TimeZoneInterpretation>(TimeZoneInterpretation, TimeZoneInterpretation)
ObjectExtensions.GraphCopy<TimeZoneInterpretation>(TimeZoneInterpretation)
EnumUtil.GetDescription(Enum)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top