DateTimeBehaviorConversionRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |
| 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 |
| Implicit(String to DateTimeBehaviorConversionRule) |
Converts a string into a DateTimeBehaviorConversionRule |
| Inequality(DateTimeBehaviorConversionRule, DateTimeBehaviorConversionRule) |
Indicates whether two |