Package 

Class TimestampKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit Timestamp(Date date, Modifier modifier, DateFormatter formatter, DateFormatType formatType) Represents a timestamp in the app, that's used primarily for channels and messages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • Timestamp

        @Composable() final static Unit Timestamp(Date date, Modifier modifier, DateFormatter formatter, DateFormatType formatType)

        Represents a timestamp in the app, that's used primarily for channels and messages.

        Parameters:
        date - The date to show in the timestamp.
        modifier - Modifier for styling.
        formatter - The formatter that's used to format the date to a String.
        formatType - The type of formatting to provide - either a timestamp or a full date.