DateUtils.FormatSameDayTimeFormatted メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| FormatSameDayTimeFormatted(Int64, Int64, AbbreviationLength, AbbreviationLength) |
古い.
現在と同じ日にある場合は時刻のみを表示し、別の日の場合は日付のみを表示するように日付/時刻を書式設定します。 |
| FormatSameDayTimeFormatted(Int64, Int64, Int32, Int32) |
現在と同じ日にある場合は時刻のみを表示し、別の日の場合は日付のみを表示するように日付/時刻を書式設定します。 |
FormatSameDayTimeFormatted(Int64, Int64, AbbreviationLength, AbbreviationLength)
注意事項
This method was improperly bound. Please use FormatSameDayTimeFormatted(Int64, Int64, Int32, Int32).
現在と同じ日にある場合は時刻のみを表示し、別の日の場合は日付のみを表示するように日付/時刻を書式設定します。
[System.Obsolete("This method was improperly bound. Please use FormatSameDayTimeFormatted(Int64, Int64, Int32, Int32).")]
public static Java.Lang.ICharSequence? FormatSameDayTimeFormatted(long then, long now, Android.Text.Format.AbbreviationLength dateStyle, Android.Text.Format.AbbreviationLength timeStyle);
[<System.Obsolete("This method was improperly bound. Please use FormatSameDayTimeFormatted(Int64, Int64, Int32, Int32).")>]
static member FormatSameDayTimeFormatted : int64 * int64 * Android.Text.Format.AbbreviationLength * Android.Text.Format.AbbreviationLength -> Java.Lang.ICharSequence
パラメーター
- then
- Int64
書式設定する日付
- now
- Int64
基準時間
- dateStyle
- AbbreviationLength
日付部分の書式を設定する方法。
- timeStyle
- AbbreviationLength
時刻部分の書式を設定する方法。
返品
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
FormatSameDayTimeFormatted(Int64, Int64, Int32, Int32)
現在と同じ日にある場合は時刻のみを表示し、別の日の場合は日付のみを表示するように日付/時刻を書式設定します。
[Android.Runtime.Register("formatSameDayTime", "(JJII)Ljava/lang/CharSequence;", "")]
public static Java.Lang.ICharSequence? FormatSameDayTimeFormatted(long then, long now, int dateStyle, int timeStyle);
[<Android.Runtime.Register("formatSameDayTime", "(JJII)Ljava/lang/CharSequence;", "")>]
static member FormatSameDayTimeFormatted : int64 * int64 * int * int -> Java.Lang.ICharSequence
パラメーター
- then
- Int64
書式設定する日付
- now
- Int64
基準時間
- dateStyle
- Int32
日付部分の書式を設定する方法。
- timeStyle
- Int32
時刻部分の書式を設定する方法。
返品
- 属性
注釈
現在と同じ日にある場合は時刻のみを表示し、別の日の場合は日付のみを表示するように日付/時刻を書式設定します。
パラメーター dateFormat と timeFormat はそれぞれ、 java.text.DateFormat#DEFAULT、 java.text.DateFormat#FULL、 java.text.DateFormat#LONG、 java.text.DateFormat#MEDIUM 、または java.text.DateFormat#SHORT
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。