Node:Common Types, Next:Auxiliary Information, Up:LysKOM Data Types
The types defined in this section are fairly simple and used in many of the more complex data types.
Time ::= ( seconds : INT32; minutes : INT32; hours : INT32; day : INT32; month : INT32; year : INT32; day-of-week : INT32; day-of-year : INT32; is-dst : BOOL; )
Time
is used to specify times in several data structures. The
fields seconds
, minutes
and hours
give wall clock
time. day
is the day of month and month
is the current
month, starting with zero for January. year
is the number of
years since 1900. day-of-week
is the current weekday, with zero
used for Sunday. day-of-year
is how many days of the year have
passed starting with zero and is-dst
is true when the time
indicated is daylight savings time.
When the server receives a Time
structure from a client it
ignores the day-of-week
and day-of-year
fields.
All times are expressed in the time zone of the server.
Conf-No ::= INT16;
This type denotes a conference number.
Text-No ::= INT32; Local-Text-No ::= INT32; Text-List ::= ( first-local-no : Local-Text-No; texts : ARRAY Text-No; )
These three types are used to indicate articles in the LysKOM database.
Text-No
is a global text number and Local-Text-No
a local
text number. Text-List
is used when a mapping from local to
global numbers are required.
Pers-No ::= Conf-No; Session-No ::= INT32;
Pers-No
is used to indicate a person. Session-No
is used
in a few data structures relating to information about active LysKOM
sessions.