Namespace: OpenEdge.Core
Type: Class DateTimeHolder
Parent Classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object
Implements: Ccs.Common.Support.IDateTimeHolder


Copyright (c) 2016, 2021-2022 by Progress Software Corporation. All rights reserved.
File:DateTimeHolder
Purpose:OO holder for a primitive ABL DATE value.
Author(s):pjudge
Created:2016-07-29
/* The holder of this datetime value



Method Summary
  Options Name Purpose
  INTEGER CompareTo (IDateTimeHolder) /* Comparison method, used by SortedSet's default comparer - If the returned value is less than 0 (zero), then the current object sorts before the object passed in. - If the returned value equals 0 (zero) , then the current object occupies the same position in the sort order. - If the returned value is greater than 0(zero), then the current object sorts after the object passed in. - If either object's Value is the unknown value (?), then that sorts high/early/before @param IDateTimeHolder The object to compare to. @return integer 0 = same object +1 = sorts after -1 = sorts before */

Constructor Summary
  Options Name Purpose
  DateTimeHolder () /* Default constructor */
  DateTimeHolder (character) /* Constructor. @param character Datetime value in ISO-DATE format */
  DateTimeHolder (datetime) /* Constructor. @param datetime Datetime value */

Property Summary
  Options Name Purpose
  DATETIME Value


Method Detail
Top

INTEGER CompareTo (IDateTimeHolder)

/* Comparison method, used by SortedSet's default comparer
- If the returned value is less than 0 (zero), then the current object sorts before the object passed in.
- If the returned value equals 0 (zero) , then the current object occupies the same position in the sort order.
- If the returned value is greater than 0(zero), then the current object sorts after the object passed in.
- If either object's Value is the unknown value (?), then that sorts high/early/before
+1 = sorts after
-1 = sorts before
Parameters:
pOther Ccs.Common.Support.IDateTimeHolder
 
Returns INTEGER
  integer 0 = same object


Constructor Detail
Top

DateTimeHolder ()

/* Default constructor
Top

DateTimeHolder (character)

/* Constructor.
Parameters:
pcTimeStamp CHARACTER
 
Top

DateTimeHolder (datetime)

/* Constructor.
Parameters:
ptDateTime DATETIME
 


Property Detail
Top

DATETIME Value

Returns DATETIME