Мой код времени joda:
Код: Выделить всё
long argDateString;
DateTime istime = new DateTime(argDateString*1000);
DateTime NormalTime = istime.withZone(DateTimeZone.forID("UTC"));
return normalTime.toString();
Код: Выделить всё
Date istime = new date(argDateString*1000);
DateFormat normalTime = DateFormat.getDateTimeInstance(DateFormat.Full, DateFormat.Full);
Return normalTime.format(istime);
Код: Выделить всё
1970-01-15T05:45:05.000Z
Код: Выделить всё
15 January 1970 05:45:05 o'clock UTC
Подробнее здесь: https://stackoverflow.com/questions/734 ... -java-time
Мобильная версия