/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * <p> * The returned formatter prints and parses only this format. * See {@link #dateParser()} for a more flexible parser that accepts different formats. * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * <p> * The returned formatter prints and parses only this format. * See {@link #dateParser()} for a more flexible parser that accepts different formats. * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
formatter = ISODateTimeFormat.yearMonth(); } else if ("yearMonthDay".equals(input) || "year_month_day".equals(input)) { formatter = ISODateTimeFormat.yearMonthDay(); } else if ("epoch_second".equals(input)) { formatter = new DateTimeFormatterBuilder().append(new EpochTimePrinter(false),
/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * <p> * The returned formatter prints and parses only this format. * See {@link #dateParser()} for a more flexible parser that accepts different formats. * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * <p> * The returned formatter prints and parses only this format. * See {@link #dateParser()} for a more flexible parser that accepts different formats. * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Returns a formatter for a full date as four digit year, two digit month * of year, and two digit day of month (yyyy-MM-dd). * * @return a formatter for yyyy-MM-dd */ public static DateTimeFormatter date() { return yearMonthDay(); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
/** * Output the date in the ISO8601 format YYYY-MM-DD. * * @return ISO8601 formatted string */ public String toString() { return ISODateTimeFormat.yearMonthDay().print(this); }
@Nonnull public HCTime setAsDate (@Nonnull final LocalDate aDate) { m_sDatetime = ISODateTimeFormat.yearMonthDay ().print (aDate); return this; }