Here you can find the source of formatDateForTAP(Date date)
Parameter | Description |
---|---|
date | Date object |
public static String formatDateForTAP(Date date)
//package com.java2s; //License from project: Open Source License import java.text.SimpleDateFormat; import java.util.Date; public class Main { /**//from w w w.j a v a2s . com * Utility class that help us to build date strings that can be used in TAP data provider * @param date Date object * @return String representation */ public static String formatDateForTAP(Date date) { return new SimpleDateFormat("dd.MM.yyyy").format(date); } }