[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
- asp.net core
- MySQL
- 스프링
- .NET Core
- high1
- 자바
- Fedora
- eGovFrame
- 이클립스
- jQuery
- Windows
- CentOS
- php
- egoverment
- 하이원
- Flutter
- DART
- Java
- Entity Framework Core
- MariaDB
- ubuntu
- express
- 전자정부
- Linux
- dotnet core
- c#
- egov
- JSP
- Eclipse
- Spring
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |