Delen via


DateTimeBehaviorConversionRule Class

Definition

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

public ref class DateTimeBehaviorConversionRule sealed : Microsoft::Xrm::Sdk::Metadata::ConstantsBase<System::String ^>
public sealed class DateTimeBehaviorConversionRule : Microsoft.Xrm.Sdk.Metadata.ConstantsBase<string>
type DateTimeBehaviorConversionRule = class
    inherit ConstantsBase<string>
Public NotInheritable Class DateTimeBehaviorConversionRule
Inherits ConstantsBase(Of String)
Inheritance
DateTimeBehaviorConversionRule

Constructors

DateTimeBehaviorConversionRule()

Initializes a new instance of the DateTimeBehaviorConversionRule class.

Fields

CreatedByTimeZone

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

LastUpdatedByTimeZone

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

OwnerTimeZone

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

SpecificTimeZone

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

Properties

ExtensionData (Inherited from ConstantsBase<T>)
Value (Inherited from ConstantsBase<T>)

Methods

Equals(Object)

Determines whether the specified instance of DateTimeBehaviorConversionRule is equal to the current instance.

GetHashCode()

Returns a hash code for this instance.

ValueExistsInList(T)

Indicates whether a value exists in the list.

(Inherited from ConstantsBase<T>)

Operators

Equality(DateTimeBehaviorConversionRule, DateTimeBehaviorConversionRule)

Indicates whether two DateTimeBehaviorConversionRule instances are equal.

Implicit(String to DateTimeBehaviorConversionRule)

Converts a string into a DateTimeBehaviorConversionRule

Inequality(DateTimeBehaviorConversionRule, DateTimeBehaviorConversionRule)

Indicates whether two DateTimeBehaviorConversionRule instances are not equal.

Applies to