1234567891011121314151617181920212223242526272829303132333435363738394041424344public static String execute(String method, final String url, final JSONObject parameters) { HttpURLConnection connection = null; String result =""; int methodCase = 0; if(method.toUpperCase().equals("POST")) methodCase = 1; try { switch (methodCase) { case 0: connection = openConnection(url.concat("?").concat(formEnc..
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816..
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116import java.io.IOException;import java.util.ArrayList;import java.util.List;import java.util.Map; import com.fasterxml.jackson.core.JsonParseException;import ..
123456789public void compareCurrentTime() throws java.text.ParseException { SimpleDateFormat f = new SimpleDateFormat("HH:mm:ss", Locale.KOREA); Date firstCurrentTime = f.parse("11:02:58"); Date secondCurrentTIme = f.parse("10:45:34"); long diff = firstCurrentTime.getTime() - secondCurrentTIme.getTime(); long timeDiff = diff / 1000; } cs