Namespace: OpenEdge.Core
Class
DateHolder
Parent classes:
Progress.Lang.Object

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

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




Method Summary
Options Name Purpose
INTEGER CompareTo (IDateHolder) /* 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 IDateHolder The object to compare to. @return integer 0 = same object +1 = sorts after -1 = sorts before */

Constructor Summary
Options Name Purpose
DateHolder () /* Default constructor */
DateHolder (character) /* Constructor @param character An ISO-DATE representation of a timestamp */
DateHolder (date) /* Constructor @param date The date to hold */

Property Summary
Options Name Purpose
DATE Value


Method Detail
Top

INTEGER CompareTo (IDateHolder)

/* 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.IDateHolder
Returns INTEGER
integer 0 = same object


Constructor Detail
Top

DateHolder ()

/* Default constructor
Top

DateHolder (character)

/* Constructor
Parameters:
pcTimeStamp CHARACTER
Top

DateHolder (date)

/* Constructor
Parameters:
ptDate DATE


Property Detail
Top

DATE Value

Returns DATE


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.6.0