Example usage for org.joda.time LocalTime toString

List of usage examples for org.joda.time LocalTime toString

Introduction

In this page you can find the example usage for org.joda.time LocalTime toString.

Prototype

public String toString(String pattern, Locale locale) throws IllegalArgumentException 

Source Link

Document

Output the time using the specified format pattern.

Usage

From source file:org.supercsv.cellprocessor.joda.FmtLocalTime.java

License:Apache License

/**
 * {@inheritDoc}//from ww  w.j  a  v a 2  s  . co m
 */
@Override
protected String format(final LocalTime jodaType, final String pattern, final Locale locale) {
    return jodaType.toString(pattern, locale);
}