1
// Created by plusminus on 13:24:05 - 21.09.2008
2
package org.anddev.openstreetmap.contributor.util;
4
import java.text.SimpleDateFormat;
6
import java.util.TimeZone;
10
// ===========================================================
12
// ===========================================================
14
public static final SimpleDateFormat UTCSimpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
16
UTCSimpleDateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
19
// ===========================================================
21
// ===========================================================
23
// ===========================================================
25
// ===========================================================
27
// ===========================================================
29
// ===========================================================
31
// ===========================================================
32
// Methods from SuperClass/Interfaces
33
// ===========================================================
35
// ===========================================================
37
// ===========================================================
39
public static final String convertTimestampToUTCString(final long aTimestamp){
40
return UTCSimpleDateFormat.format(new Date(aTimestamp));
43
// ===========================================================
44
// Inner and Anonymous Classes
45
// ===========================================================