Java Date Format convertDateToBulgarianFormat(Date date)

Here you can find the source of convertDateToBulgarianFormat(Date date)

Description

convert Date To Bulgarian Format

License

Apache License

Declaration

public static String convertDateToBulgarianFormat(Date date) throws ParseException 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    private static final SimpleDateFormat dateFormatBulgarian = new SimpleDateFormat("dd.MM.yyyy");

    public static String convertDateToBulgarianFormat(Date date) throws ParseException {
        String dateInBulgarianFormat = dateFormatBulgarian.format(date);

        return dateInBulgarianFormat;
    }//from   w  w w .  ja v a  2s  .com
}

Related

  1. convertDateToCustomFormat(Date date, String datePattern)
  2. convertDateToDateString(Date date)
  3. convertDateToFileName(final Date datum)
  4. convertDateToGMTDateString(Date date)