kernel/lib/Date.php
public static function getDayInWord(string $sDay, string $sLanguage = 'fr') : Date
    {
        if ($sLanguage == 'fr') {

            if ($sDay == 0) { return 'dimanche'; }
            else if ($sDay == 1) { return 'lundi'; }
            else if ($sDay == 2) { return 'mardi'; }
            else if ($sDay == 3) { return 'mercredi'; }
            else if ($sDay == 4) { return 'jeudi'; }
            else if ($sDay == 5) { return 'vendredi'; }
            else if ($sDay == 6) { return 'samedi'; }
        }
    }
public static function getDayInWord(string $sDay, string $sLanguage = 'fr') : Date
    {
        if ($sLanguage == 'fr') {

            if ($sDay == 0) { return 'dimanche'; }
            else if ($sDay == 1) { return 'lundi'; }
            else if ($sDay == 2) { return 'mardi'; }
            else if ($sDay == 3) { return 'mercredi'; }
            else if ($sDay == 4) { return 'jeudi'; }
            else if ($sDay == 5) { return 'vendredi'; }
            else if ($sDay == 6) { return 'samedi'; }
        }
    }
public static function getDayInWord ( string $ sDay , string $ sLanguage = 'fr' ) : Date { if ( $ sLanguage == 'fr' ) { if ( $ sDay == 0 ) { return 'dimanche' ; } else if ( $ sDay == 1 ) { return 'lundi' ; } else if ( $ sDay == 2 ) { return 'mardi' ; } else if ( $ sDay == 3 ) { return 'mercredi' ; } else if ( $ sDay == 4 ) { return 'jeudi' ; } else if ( $ sDay == 5 ) { return 'vendredi' ; } else if ( $ sDay == 6 ) { return 'samedi' ; } } }
set name of image

@access public
@param  mixed $sDay number of day
@param  string $sLanguage language
@return \Venus\lib\Date
set name of image