DateTimeFormatInfo.GetAbbreviatedDayName(DayOfWeek) Méthode
Définition
Retourne le nom abrégé spécifique de la culture du jour de la semaine spécifié en fonction de la culture associée à l’objet DateTimeFormatInfo actuel.Returns the culture-specific abbreviated name of the specified day of the week based on the culture associated with the current DateTimeFormatInfo object.
public:
System::String ^ GetAbbreviatedDayName(DayOfWeek dayofweek);
public string GetAbbreviatedDayName (DayOfWeek dayofweek);
member this.GetAbbreviatedDayName : DayOfWeek -> string
Public Function GetAbbreviatedDayName (dayofweek As DayOfWeek) As String
Paramètres
Retours
Nom abrégé spécifique de la culture du jour de la semaine représenté par dayofweek
.The culture-specific abbreviated name of the day of the week represented by dayofweek
.
Exceptions
Remarques
Pour l’objet invariant par défaut DateTimeFormatInfo , cette méthode retourne une chaîne à partir de GregorianCalendar :For the default invariant DateTimeFormatInfo object, this method returns a string from the GregorianCalendar:
dayofweek |
Valeur de retourReturn Value |
---|---|
DimancheSunday | Sun"Sun" |
LundiMonday | Lun"Mon" |
MardiTuesday | Mardi"Tue" |
MercrediWednesday | Mercredi"Wed" |
JeudiThursday | Jeu"Thu" |
VendrediFriday | Lundi"Fri" |
SamediSaturday | Sot"Sat" |