Java ZonedDateTime Calculate getShortStringDate(ZonedDateTime time)

Here you can find the source of getShortStringDate(ZonedDateTime time)

Description

get Short String Date

License

Open Source License

Declaration

public static String getShortStringDate(ZonedDateTime time) 

Method Source Code

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

import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;

public class Main {
    public static String getShortStringDate(ZonedDateTime time) {
        return time.format(DateTimeFormatter.ISO_LOCAL_DATE);
    }/* w  ww.  j  a  v  a2s.  co m*/
}

Related

  1. elapsedTime(ZonedDateTime zonedDateTime)
  2. equals(ZonedDateTime ZDT1, ZonedDateTime ZDT2)
  3. filter(final Set list, final ZonedDateTime base, final long minute)
  4. findIdx(int startidx, int endidx, ZonedDateTime endDate, List holidays)
  5. getDuration(ZonedDateTime input, TemporalField roundTo, int roundIncrement)
  6. getStartOfDay(ZoneId zoneId, ZonedDateTime time)
  7. getStartOfWeek(ZoneId zoneId, ZonedDateTime time)
  8. getTime(ZonedDateTime zonedTime)
  9. getTimePath(Path dir, String ext, ZonedDateTime dateTime)