title: I need to add a Filter according to date of birth using Firebase Query
body: <p>I have saved Firestore Database in the date of birth formate now I want to add a filter query according to date and month get user BirthDay. Suppose that I saved a Doctor Date of birth like 14-10-1980 now I need to filer his BirthDay tell me how to get this from Date of Birth </p>
  
  <pre><code>    @SuppressLint("SimpleDateFormat") SimpleDateFormat df = new SimpleDateFormat("d-M");
      String formattedDate = df.format(c);
  
      Query query = FirebaseFirestore.getInstance().collection(TABLE_KEY_ALL_DATA).orderBy("docDob").startAt(formattedDate+"\uf8ff");
      query.addSnapshotListener((snapshot1, e1) -&gt; {
          if (e1 != null) {
              return;
          }
          addNewDoctorModelList = snapshot1.toObjects(QualificationData.class);
  
          try {
              Collections.sort(addNewDoctorModelList, new Comparator&lt;QualificationData&gt;() {
                  @Override
                  public int compare(QualificationData lhs, QualificationData rhs) {
                      return lhs.getDocName().compareTo(rhs.getDocName());
                  }
              });
          }
          catch ( NullPointerException e2){
              e2.printStackTrace();
          }
  
          reminderListAdapter = new ReminderListAdapter(addNewDoctorModelList,getActivity(), this);
          remindersRecyclerviewBinding.reminderListDoctor.setAdapter(reminderListAdapter);
      });
  </code></pre>
  
  <p>please suggest me thank you in advance I would appreciate every response  </p>