com.acsinet_solutions.util.text
Interface DateFormatter

All Known Implementing Classes:
DateFormatterBundle_es.SpanishDateFormatter, DateFormatterBundle.EnglishDateFormatter

public interface DateFormatter

Locale specific date formatting interface definition. Used for tasks not easily done with java's core classes.

Author:
Santiago Arriaga

Method Summary
 java.lang.String getDateRange(java.util.Calendar startDate, java.util.Calendar endDate)
          Get the date range of the given dates ( stored as Calendar instances ) as a convenient String
 java.lang.String getMonthName(int i)
          Get the month's name in the current locale
 

Method Detail

getMonthName

java.lang.String getMonthName(int i)
Get the month's name in the current locale

Parameters:
i - the month's index from 1 to 12

getDateRange

java.lang.String getDateRange(java.util.Calendar startDate,
                              java.util.Calendar endDate)
Get the date range of the given dates ( stored as Calendar instances ) as a convenient String