Show / Hide Table of Contents

Class DateTimeValue

Represents Date/Time values in the evaluation of DecisionModels.

Inheritance
object
ElementValue
AtomicElementValue
DateTimeValue
Inherited Members
ElementValue.Type
ElementValue.Create(object, string)
ElementValue.ToCSV(bool, string, string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.DecisionModeler.ValueTypes
Assembly: WMServer.dll
Syntax
public class DateTimeValue : AtomicElementValue

Constructors

DateTimeValue()

Declaration
public DateTimeValue()

DateTimeValue(DateTime)

Declaration
public DateTimeValue(DateTime val)
Parameters
Type Name Description
DateTime val

Properties

Value

Declaration
public DateTime Value { get; set; }
Property Value
Type Description
DateTime

Methods

TryParseISO8601String(string, out DateTime)

Attempts to convert a string to Datetime adhering to strict ISO 8601 formatting. Will return false if unable to parse the string correctly.

Declaration
public static bool TryParseISO8601String(string str, out DateTime result)
Parameters
Type Name Description
string str

the string to parse

DateTime result

The resulting DateTime

Returns
Type Description
bool

True, if parsed correctly. False otherwise.

In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE