enum GLib::DateWeekday

Overview

Enumeration representing a day of the week; %G_DATE_MONDAY, %G_DATE_TUESDAY, etc. %G_DATE_BAD_WEEKDAY is an invalid weekday.

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/g_lib.cr

Enum Members

BadWeekday = 0_u32

invalid value

Monday = 1_u32

Monday

Tuesday = 2_u32

Tuesday

Wednesday = 3_u32

Wednesday

Thursday = 4_u32

Thursday

Friday = 5_u32

Friday

Saturday = 6_u32

Saturday

Sunday = 7_u32

Sunday

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def bad_weekday? #

[View source]
def friday? #

[View source]
def monday? #

[View source]
def saturday? #

[View source]
def sunday? #

[View source]
def thursday? #

[View source]
def tuesday? #

[View source]
def wednesday? #

[View source]