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

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


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



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

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

Property Summary
  Options Name Purpose
  DATETIME-TZ Value


Method Detail
Top

INTEGER CompareTo (IDateTimeTzHolder)

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


Constructor Detail
Top

DateTimeTzHolder ()

/* Default constructor
Top

DateTimeTzHolder (character)

/* Constructor.
Parameters:
pcTimeStamp CHARACTER
 
Top

DateTimeTzHolder (datetime-tz)

/* Constructor.
Parameters:
ptDateTime DATETIME-TZ
 


Property Detail
Top

DATETIME-TZ Value

Returns DATETIME-TZ