Java LocalDate to String dateToFullString(LocalDate date)

Here you can find the source of dateToFullString(LocalDate date)

Description

date To Full String

License

Open Source License

Declaration

public static String dateToFullString(LocalDate date) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.time.LocalDate;

import java.time.format.DateTimeFormatter;
import java.util.Locale;

public class Main {
    private static final String FULL_PATTERN = "EEEE dd/MM/yyyy";

    public static String dateToFullString(LocalDate date) {
        return getFullFormatter().format(date);
    }//w w  w  .j a v a 2s . c o m

    private static DateTimeFormatter getFullFormatter() {
        return DateTimeFormatter.ofPattern(FULL_PATTERN).withLocale(Locale.FRANCE);
    }
}

Related

  1. dateToString(LocalDate date)
  2. localDate2Str(LocalDate localDate)
  3. localDateToString(LocalDate date)
  4. toDateString(LocalDate date, String pattern)