Java ZoneId now()

Here you can find the source of now()

Description

Get localized LocalDate, using Europe / Paris time zone.

License

Open Source License

Declaration

public static LocalDate now() 

Method Source Code


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

import java.time.LocalDate;
import java.time.ZoneId;

public class Main {
    public static ZoneId EUROPE_PARIS = ZoneId.of("Europe/Paris");

    /**//from  w  w w  . j  av  a2s  .  co m
     * Get localized LocalDate, using Europe / Paris time zone.
     */
    public static LocalDate now() {
        return LocalDate.now(EUROPE_PARIS);
    }
}

Related

  1. getTimezone(String tzid)
  2. getTimeZoneId(final TimeZone tz)
  3. getZoneDateTime(Date d, String tzId)
  4. getZoneId()
  5. getZoneId(String tzId)
  6. parseBuildTimestamp(String buildTimestamp)
  7. parseDateTime(String yyyymmdd, String hhmmss)
  8. parseDateToZdt(Date date)
  9. parseTimeZone(String timeZoneStr)