File: constants.ha

package info (click to toggle)
hare 0.25.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,948 kB
  • sloc: asm: 1,264; makefile: 123; sh: 114; lisp: 101
file content (59 lines) | stat: -rw-r--r-- 1,330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// SPDX-License-Identifier: MPL-2.0
// (c) Hare authors <https://harelang.org>

// Ordinal for the month of January.
export def JANUARY: int = 1;

// Ordinal for the month of February.
export def FEBRUARY: int = 2;

// Ordinal for the month of March.
export def MARCH: int = 3;

// Ordinal for the month of April.
export def APRIL: int = 4;

// Ordinal for the month of May.
export def MAY: int = 5;

// Ordinal for the month of June.
export def JUNE: int = 6;

// Ordinal for the month of July.
export def JULY: int = 7;

// Ordinal for the month of August.
export def AUGUST: int = 8;

// Ordinal for the month of September.
export def SEPTEMBER: int = 9;

// Ordinal for the month of October.
export def OCTOBER: int = 10;

// Ordinal for the month of November.
export def NOVEMBER: int = 11;

// Ordinal for the month of December.
export def DECEMBER: int = 12;

// Ordinal for the weekday Monday.
export def MONDAY: int = 0;

// Ordinal for the weekday Tuesday.
export def TUESDAY: int = 1;

// Ordinal for the weekday Wednesday.
export def WEDNESDAY: int = 2;

// Ordinal for the weekday Thursday.
export def THURSDAY: int = 3;

// Ordinal for the weekday Friday.
export def FRIDAY: int = 4;

// Ordinal for the weekday Saturday.
export def SATURDAY: int = 5;

// Ordinal for the weekday Sunday.
export def SUNDAY: int = 6;