RelativeDateTimeFormatter.CombineDateAndTime(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Combines a relative date string and a time string in this object's locale.
[Android.Runtime.Register("combineDateAndTime", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public string? CombineDateAndTime (string? relativeDateString, string? timeString);
[<Android.Runtime.Register("combineDateAndTime", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
member this.CombineDateAndTime : string * string -> string
Parameters
- relativeDateString
- String
the relative date e.g 'yesterday'
- timeString
- String
the time e.g '3:45'
Returns
the date and time concatenated according to the default calendar in this locale e.g 'yesterday, 3:45'
- Attributes
Remarks
Combines a relative date string and a time string in this object's locale. This is done with the same date-time separator used for the default calendar in this locale.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.