Search
Utilities.formatDateTime Method
See Also
 






Formats the specified long value to a string that represents a DateTime.

Namespace: com.mindfusion.charting
File: com.mindfusion.charting

 Syntax

Java  Copy Code

public static String formatDateTime (
    long milliseconds,
    DateTimeFormat dateTimeFormat,
    String customDateTimeFormat,
    String labelPrefix,
    String labelSuffix
)

 Parameters

milliseconds

The value of the DateTime object.

dateTimeFormat

One of the DateTimeFormat enumeration values.

customDateTimeFormat

A custom DateTime format, if any.

labelPrefix

A prefix applied before the label.

labelSuffix

A suffix applied after the label.

 Return Value

A string that represents the formatted DateTime value.

 See Also