hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

constants.ha (1330B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 
      4 // Ordinal for the month of January.
      5 export def JANUARY: int = 1;
      6 
      7 // Ordinal for the month of February.
      8 export def FEBRUARY: int = 2;
      9 
     10 // Ordinal for the month of March.
     11 export def MARCH: int = 3;
     12 
     13 // Ordinal for the month of April.
     14 export def APRIL: int = 4;
     15 
     16 // Ordinal for the month of May.
     17 export def MAY: int = 5;
     18 
     19 // Ordinal for the month of June.
     20 export def JUNE: int = 6;
     21 
     22 // Ordinal for the month of July.
     23 export def JULY: int = 7;
     24 
     25 // Ordinal for the month of August.
     26 export def AUGUST: int = 8;
     27 
     28 // Ordinal for the month of September.
     29 export def SEPTEMBER: int = 9;
     30 
     31 // Ordinal for the month of October.
     32 export def OCTOBER: int = 10;
     33 
     34 // Ordinal for the month of November.
     35 export def NOVEMBER: int = 11;
     36 
     37 // Ordinal for the month of December.
     38 export def DECEMBER: int = 12;
     39 
     40 // Ordinal for the weekday Monday.
     41 export def MONDAY: int = 0;
     42 
     43 // Ordinal for the weekday Tuesday.
     44 export def TUESDAY: int = 1;
     45 
     46 // Ordinal for the weekday Wednesday.
     47 export def WEDNESDAY: int = 2;
     48 
     49 // Ordinal for the weekday Thursday.
     50 export def THURSDAY: int = 3;
     51 
     52 // Ordinal for the weekday Friday.
     53 export def FRIDAY: int = 4;
     54 
     55 // Ordinal for the weekday Saturday.
     56 export def SATURDAY: int = 5;
     57 
     58 // Ordinal for the weekday Sunday.
     59 export def SUNDAY: int = 6;