언어

DateUtils.GetDayOfWeekString(Int32, AbbreviationLength) 메서드

정의

주의

deprecated

요일의 문자열을 반환합니다.

[Android.Runtime.Register("getDayOfWeekString", "(II)Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string? GetDayOfWeekString(int dayOfWeek, Android.Text.Format.AbbreviationLength abbrev);
[<Android.Runtime.Register("getDayOfWeekString", "(II)Ljava/lang/String;", "")>]
[<System.Obsolete("deprecated")>]
static member GetDayOfWeekString : int * Android.Text.Format.AbbreviationLength -> string

매개 변수

dayOfWeek
Int32

, Calendar#MONDAY Calendar.MONDAY등 중 Calendar#SUNDAY Calendar.SUNDAY하나입니다.

abbrev
AbbreviationLength

#LENGTH_LONG, #LENGTH_SHORT, #LENGTH_MEDIUM, 또는 #LENGTH_SHORTEST 중 하나. 대부분의 언어에서는 .와 #LENGTH_SHORT 동일하게 #LENGTH_MEDIUM반환됩니다. 정의되지 않은 길이는 반환 #LENGTH_MEDIUM 되지만 나중에 다른 것을 반환할 수 있습니다.

반품

특성

예외

dayOfWeek이 범위를 벗어난 경우

설명

요일의 문자열을 반환합니다.

이 멤버는 더 이상 사용되지 않습니다. java.text.SimpleDateFormat를 대신 사용하세요.

에 대한 android.text.format.DateUtils.getDayOfWeekString(int, int)Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상