com.univocity.parsers.conversions.FormattedDateConversion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of univocity-parsers Show documentation
Show all versions of univocity-parsers Show documentation
uniVocity's open source parsers for processing different text formats using a consistent API
/*
* Copyright (c) 2013 uniVocity Software Pty Ltd. All rights reserved.
* This file is subject to the terms and conditions defined in file
* 'LICENSE.txt', which is part of this source code package.
*/
package com.univocity.parsers.conversions;
import com.univocity.parsers.common.*;
import java.text.*;
import java.util.*;
/**
* Converts objects of different date types ({@code java.util.Date} and {@code java.util.Calendar}) to a formatted
* date {@code String}.
*
* The reverse conversion is not supported.
*
*
The date patterns must follow the pattern rules of {@link SimpleDateFormat}
*
* @author uniVocity Software Pty Ltd - [email protected]
* @see SimpleDateFormat
*/
public class FormattedDateConversion implements Conversion