Show / Hide Table of Contents

Class TimeZoneInterpretation

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

Inheritance
Object
TimeZoneInterpretation
Namespace: SoCore.Shared.CRM.Services
Assembly: SoCore.dll
Syntax
public sealed class TimeZoneInterpretation : Enum

Fields

AbsoluteUTC

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

Declaration
public const TimeZoneInterpretation AbsoluteUTC
Field Value
Type Description
TimeZoneInterpretation

SalesBaseTime

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

Declaration
public const TimeZoneInterpretation SalesBaseTime
Field Value
Type Description
TimeZoneInterpretation

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

Declaration
public const TimeZoneInterpretation ServiceBaseTime
Field Value
Type Description
TimeZoneInterpretation

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

Declaration
public const TimeZoneInterpretation TimeOnly
Field Value
Type Description
TimeZoneInterpretation

UTC

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

Declaration
public const TimeZoneInterpretation UTC
Field Value
Type Description
TimeZoneInterpretation

value__

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

Declaration
public int value__
Field Value
Type Description
Int32

Extension Methods

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