DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦6c183f533⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Date, seg_04cc7d, seg_04cd59

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with My_Types;
package Date is

    package Mt renames My_Types;
    type Object is private;
    type Horaire is private;
    type Nom_De_Jour is (Le_36_Du_Mois, Lundi, Mardi, Mecredi,
                         Jeudi, Vendredi, Samedi, Dimanche);

    subtype Jour is Mt.Byte range 0 .. 7;
    subtype Heure is Mt.Byte range 0 .. 23;
    subtype Minute is Mt.Byte range 0 .. 59;

    function System_Date return Object;
    function Set (At_Day : Jour; At_Hour : Heure; At_Minute : Minute)
                 return Object;
    function Set (At_Hour : Heure; At_Minute : Minute) return Horaire;

    function Zero return Object;
    function Zero return Horaire;
    function Image (The_Date : in Object) return String;
    function Image (L_Horaire : in Horaire) return Mt.Byte_String;
    function Value (The_Byte_String : in Mt.Byte_String) return Horaire;
    function Image (L_Horaire : in Horaire) return String;
    function Image (The_Date : in Object) return Mt.Bs_Access;  
    function Value (The_Byte_String : in Mt.Byte_String) return Object;

private
    type Horaire is
        record
            Hours : Heure := 0;
            Minutes : Minute := 0;
        end record;
    type Object is
        record
            Day : Jour := 1;
            Hour_Minute : Horaire;
        end record;

end Date;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=064
        [0x01] rec0=11 rec1=00 rec2=02 rec3=000
    tail 0x215496b98874f6e2b000d 0x42a00088462060003