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

⟦0c4c70250⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Dates, seg_05095a

Derivation

└─⟦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 Calendar;
use Calendar;

package Dates is
    type Day_Kind is (All_Days, Week_Days, Work_Days, Holiday, Weekend_Day);
    subtype Days is Integer;
    Today : Calendar.Time := Calendar.Clock;
    type Days_Of_Week is (Sunday, Monday, Tuesday, Wednesday,
                          Thursday, Friday, Saturday);

    function Day_Of_Week (T : Time) return Days_Of_Week;
    function Kind_Of_Day (T : Time) return Day_Kind;
    function Plus
                (T : Time; D : Days; Days : Day_Kind := Work_Days) return Time;
    function Minus
                (T : Time; D : Days; Days : Day_Kind := Work_Days) return Time;
    function Minus (T1 : Time; T2 : Time; Days : Day_Kind := Work_Days)
                   return Dates.Days;
    function Julian_Day_Of (T : Time) return Days;
    procedure Date_From_Julian_Day (Jday : Days;
                                    Year : out Year_Number;
                                    Month : out Month_Number;
                                    Day : out Day_Number);
    function Get_Mmddyy (S : String) return Time;
    function Put_Mmddyy (T : Time) return String;
    function Get_Ddmmyy (S : String) return Time;
    function Put_Ddmmyy (T : Time) return String;
    function Get_Hrmnsc (S : String) return Duration;
    function Put_Hrmnsc (T : Duration) return String;
    procedure Set_Holidays (File_Name : String);
end Dates;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=18 rec1=00 rec2=01 rec3=01e
        [0x01] rec0=09 rec1=00 rec2=02 rec3=000
    tail 0x21757fcfc878e789853f6 0x42a00088462060003