Here you can find the source of getEnd(String date, TimeZone tz)
public static String getEnd(String date, TimeZone tz)
//package com.java2s; //License from project: Apache License import java.util.TimeZone; public class Main { public static String getEnd(String date, TimeZone tz) { return date + " 23:59:59 " + tz.getDisplayName(true, TimeZone.SHORT); }/* w w w . ja v a 2s .c o m*/ }