DateTimeBehaviorConversionRule Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Represents a conversion rule for converting date and time value from UTC to DateOnly in the database.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

System.Object
  Microsoft.Xrm.Sdk.Metadata.ConstantsBase<T>
    Microsoft.Xrm.Sdk.DateTimeBehaviorConversionRule

public sealed class DateTimeBehaviorConversionRule : ConstantsBase<string>

NameDescription
System_CAPS_pubmethodDateTimeBehaviorConversionRule()

Initializes a new instance of the DateTimeBehaviorConversionRule class.

NameDescription
System_CAPS_pubpropertyExtensionData

(Inherited from ConstantsBase<T>.)

System_CAPS_pubpropertyValue

(Inherited from ConstantsBase<T>.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified instance of DateTimeBehaviorConversionRule is equal to the current instance.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns a hash code for this instance.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticCreatedByTimeZone

Converts UTC value to a DateOnly value that the user who created the record would see in the UI.

System_CAPS_pubfieldSystem_CAPS_staticLastUpdatedByTimeZone

Converts UTC value to a DateOnly value that the user who last updated the record would see in the UI.

System_CAPS_pubfieldSystem_CAPS_staticOwnerTimeZone

Converts UTC value to a DateOnly value that the user who owns the record would see in the UI.

System_CAPS_pubfieldSystem_CAPS_staticSpecificTimeZone

Converts UTC value to a DateOnly value as per the time zone code specified in the ConvertDateAndTimeBehaviorRequest.TimeZoneCode parameter.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(DateTimeBehaviorConversionRule, DateTimeBehaviorConversionRule)

Indicates whether two DateTimeBehaviorConversionRule instances are equal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(String to DateTimeBehaviorConversionRule)

Converts a string into a DateTimeBehaviorConversionRule

System_CAPS_puboperatorSystem_CAPS_staticInequality(DateTimeBehaviorConversionRule, DateTimeBehaviorConversionRule)

Indicates whether two DateTimeBehaviorConversionRule instances are not equal.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: