Java Date Format ISO isoFormat(Date date)

Here you can find the source of isoFormat(Date date)

Description

iso Format

License

LGPL

Declaration

public static String isoFormat(Date date) 

Method Source Code


//package com.java2s;
//License from project: LGPL 

import com.fasterxml.jackson.databind.util.ISO8601DateFormat;

import java.text.DateFormat;

import java.util.Date;

public class Main {
    public static final DateFormat isoDateFormat = new ISO8601DateFormat();

    public static String isoFormat(Date date) {
        return isoDateFormat.format(date);
    }/*from  w w w . j  a v  a2  s . co  m*/
}

Related

  1. iso8601(final Date date)
  2. iso8601Date(Date d)
  3. isoDateFormat(Calendar calendar)
  4. isoDateFormat(final Date date)
  5. isoDateTimeUTC(final Date val)
  6. isoTime(Date d)
  7. longToISODate(long longDate)
  8. makeDateISO8601(Date date)
  9. millisecondsToISO8601(long date)