Here you can find the source of getCurrentDateWithDot()
public static String getCurrentDateWithDot()
//package com.java2s; public class Main { /**// w ww. j av a2 s . c om * * @return yyyy.MM.dd */ public static String getCurrentDateWithDot() { java.text.SimpleDateFormat dateFormat = new java.text.SimpleDateFormat("yyyy.MM.dd", java.util.Locale.KOREA); return dateFormat.format(new java.util.Date()); } }