Here you can find the source of formatDDMMYYYY(Date date)
Parameter | Description |
---|---|
date | . |
null
.
public static String formatDDMMYYYY(Date date)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; public class Main { /**// ww w. j a v a 2 s . c o m * The Constant ddMMyyyy_DATE_FORMAT. */ public static final DateFormat ddMMyyyy_DATE_FORMAT = new SimpleDateFormat("ddMMyyyy"); /** * Datum formatieren analog zu "31122007). * * @param date . * @return Nie <code>null</code>. */ public static String formatDDMMYYYY(Date date) { final String result = ddMMyyyy_DATE_FORMAT.format(date); return result; } }