Prashanth
Prashanth

Reputation: 77

Error: package org.threeten.bp.format does not exist

private void setStartDateAndEndDate() {
        TextView startDateTextView = mStartDateView.findViewById(R.id.fixtures_total_count);
        startDateTextView.setText(SelectedDateTimeHolder.getSelectedStartDate().getDate().format(DateTimeFormatter.ofPattern("EEE, MMM dd yyyy")));
        TextView endDateTextView = mEndDateView.findViewById(R.id.fixtures_total_count);
        endDateTextView.setText(SelectedDateTimeHolder.getSelectedEndDate().getDate().format(DateTimeFormatter.ofPattern("EEE, MMM dd yyyy")));
    }

Upvotes: 0

Views: 3112

Answers (1)

DaniVS
DaniVS

Reputation: 11

You can substitute the old lib with this one

The package org.threeten.bp refers to this project which is now closed.

Aim of the project was to provide updates to the JDK8 as stated here

The availability of the same functionalities is not guaranteed as Android SDK supports only partially the complete JDK8

Upvotes: 1

Related Questions