Class DateUtils


  • public class DateUtils
    extends Object
    Created by The eXo Platform SAS Author : Aymen Boughzela aboughzela@exoplatform.com
    • Constructor Detail

      • DateUtils

        public DateUtils()
    • Method Detail

      • getRelativeTimeLabel

        public static String getRelativeTimeLabel​(Locale locale,
                                                  long postedTime)
        Gets prettyTime by timestamp.
        Parameters:
        locale -
        postedTime -
        Returns:
        String