dateToString

@NotNull
open fun dateToString(@Nullable date: @Nullable Date, @Nullable timeZone: @Nullable TimeZone): @NotNull String

Format a Date and a TimeZone into a String which McuManager will accept.

Return

A formatted string of the provided date and timezone.

Parameters

date

the date to format. If null, the current date on the device will be used.

timeZone

the timezone of the given date. If null, the timezone on the device will be used.