|
@@ -11,7 +11,7 @@ import java.text.SimpleDateFormat;
|
|
|
*/
|
|
*/
|
|
|
public class SocketUtils {
|
|
public class SocketUtils {
|
|
|
|
|
|
|
|
- public SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
|
|
+ public static final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
|
|
|
public static byte[] str2byte(String str) {
|
|
public static byte[] str2byte(String str) {
|
|
|
str = str.replaceAll(" ", "");
|
|
str = str.replaceAll(" ", "");
|