Here you can find the source of convertLongTimeToText(Long time)
Parameter | Description |
---|---|
time | the time which will be converted to string form |
public static String convertLongTimeToText(Long time)
//package com.java2s; public class Main { /**/* w w w. jav a2 s . com*/ * Convert custom field value to text form * @param time the time which will be converted to string form * @return string representation of time */ public static String convertLongTimeToText(Long time) { if (time != null) { time /= 60; //to minutes return time.toString(); } return null; } }