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? #

def friday? #

def monday? #

def saturday? #

def sunday? #

def thursday? #

def tuesday? #

def wednesday? #