Java Hour Format formatMessage(String message)

Here you can find the source of formatMessage(String message)

Description

format Message

License

Open Source License

Declaration

private static String formatMessage(String message) 

Method Source Code

//package com.java2s;
// it under the terms of the GNU General Public License as published by

import java.text.SimpleDateFormat;
import java.util.Date;

public class Main {
    static final SimpleDateFormat _DateFormatter = new SimpleDateFormat("HH:mm:ss:SSS");

    private static String formatMessage(String message) {
        return _DateFormatter.format(new Date()) + " IBController: " + message;
    }// w w w .java  2s  . c  o m
}

Related

  1. formatHTTPDate(Date pTime)
  2. formatInfo(String info)
  3. formatInternal(final Date date)
  4. formatInterval(long intervalMsec)
  5. formatLastModified(long lastModifiedTime)
  6. formatMM(Date date)
  7. formatNanosTimeUSEastern(long nanos)
  8. formatNewDate(String format)
  9. formatOffset(int offset)