immutable class DT_CODES < $ENUMS{DT_CODES}


Ancestors
$ENUMS{_} $NIL $IS_NIL $TEXT
$STR $HASH $IS_EQ $ANCHORED_FMT
$FMT $BINARY



Public


Readable Attributes
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.

Constants
const cardinality : CARD := val_count ; .. Included as cardinality
**** the default value!
const offset : CARD := 1 ; .. Included as offset
****
________This_is_the_offset_from_the_index_of_first_element_of_the_Names_array
___(ie_zero)_to_the_first_enumeration_value_numeric_code.

Features
ADay_Name : SAME
**** a
AMonth_Name : SAME
**** b
Alt_AMonth_Name : SAME
**** h
Alternate_Prefix : SAME
**** O
Am_Pm : SAME
**** p
Century : SAME
**** C
Century_Year : SAME
**** y
Day_Name : SAME
**** A
Era_Prefix : SAME
**** E
Filled_Month_Day : SAME
**** e
Full_DT : SAME
**** c
Hour : SAME
**** H
ISO_Date : SAME
**** F
Local_Date : SAME
**** x
Local_Time : SAME
**** X
Minutes : SAME
**** M
Month_Day : SAME
**** d
Month_Name : SAME
**** B
New_Line : SAME
**** n
Numeric_Date : SAME
**** D
Percent : SAME
**** %
Rel_Hour : SAME
**** I
Rel_Time : SAME
**** r
Seconds : SAME
**** S
Tab : SAME
**** t
Time : SAME
**** T
Time_Zone : SAME
**** Z
Week_Day : SAME
**** w
Weekday_Num : SAME
**** f
Year : SAME
**** Y
Year_Day : SAME
**** j
Year_Mon_Week : SAME
**** W
Year_Month : SAME
**** m
Year_Sun_Week : SAME
**** U
binstr : BINSTR .. Included as binstr
build( .. Included as build
build( loc_cursor : STR_CURSOR ) : SAME .. Included as build
card : CARD .. Included as card
create( .. Included as create
create( .. Included as create
create( str : STR ) : SAME .. Included as create
****
________This_is_the_creation_routine_from_a_string_which_is_any_of_the
___abbreviations_listed_in_the_Name_table.____If_the_name_table_has_not_been
___read_in_this_is_done_first.
fmt( format : ANCHORED_DESCR ) : STR .. Included as fmt
fmt( format : ANCHORED_DESCR, lib : LIBCHARS ) : STR .. Included as fmt
hash : CARD .. Included as hash
is_enum( str : STR ) : CONVERSION_RESULTS .. Included as is_enum
is_eq( .. Included as is_eq
is_eq(other : $OB) : BOOL .. Included as is_eq
**** This is the generic equality predicate. c.f. the class $IS_EQ
is_nil : BOOL .. Included as is_nil
nil : SAME .. Included as nil
read( .. Included as read
str( lib : LIBCHARS ) : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_given
___character_repertoire_and_encoding_-_including_a_nil_value.
str : STR .. Included as str
****
________This_routine_provides_a_string_representation_of_self_in_the_default
___character_repertoire_and_encoding_-_including_a_nil_value.
write( .. Included as write

Iters
elt! : SAME .. Included as elt!


Private

const Max_Val : CARD := val_count ; .. Included as Max_Val
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
shared Names : ARRAY{STR} ; .. Included as Names
**** for external representation!
check_names( loc_lib : LIBCHARS ) .. Included as check_names
attr enum : CARD ; .. Included as enum
**** Used also for transforming an enum to a cardinal value.
shared lib : LIBCHARS ; .. Included as lib
shared lib : LIBCHARS ; .. Included as lib
lookup( .. Included as lookup
const val_count : CARD := 34 ;

The Sather Home Page