Example usage for java.text Normalizer subclass-usage

List of usage examples for java.text Normalizer subclass-usage

Introduction

In this page you can find the example usage for java.text Normalizer subclass-usage.

Usage

From source file org.openmrs.module.sync.serialization.TimestampNormalizer.java

public class TimestampNormalizer extends Normalizer {
    public static final String DATETIME_MASK = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
    public static final String DATETIME_MASK_BACKUP = "yyyy-MM-dd HH:mm:ss.S"; // because we are converting to strings in more than one way, so need a way to convert back
    public static final String DATETIME_DISPLAY_FORMAT = "dd MMM yyyy HH:mm:ss";

    public String toString(Object o) {