[Java] Date객체 문자열(String) 변환 1. code package khanorder.tistory.com import java.util.Date; import java.text.SimpleDateFormat; public class DateAndString { public static void main(String[] args) { // Date to String Date nowDateTime = new Date(); SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); String strDateTime = format.format(nowDateTime); System.out.println(strDateTime); /..
[Java] String 객체 공백 확인 1. 공백 문자를 포함한 빈값 확인 import org.apache.commons.lang3.StringUtils; public class StrUtilTest { public static void main (String[] args) { System.out.println(StringUtils.isBlank(null)); // true System.out.println(StringUtils.isBlank("")); // true System.out.println(StringUtils.isBlank(" ")); // true System.out.println(StringUtils.isBlank("bob")); // false System.out.println(Str..
- Total
- Today
- Yesterday
- dotnet core
- Eclipse
- Entity Framework Core
- eGovFrame
- egov
- high1
- express
- 하이원
- 자바
- 전자정부
- Flutter
- .NET Core
- 이클립스
- MySQL
- DART
- Linux
- asp.net core
- Spring
- CentOS
- 스프링
- ubuntu
- MariaDB
- JSP
- php
- Windows
- c#
- Fedora
- jQuery
- Java
- egoverment
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |