Java Day getDay(Date date, HashMap date2day)

Here you can find the source of getDay(Date date, HashMap date2day)

Description

get Day

License

Open Source License

Declaration

public static int getDay(Date date, HashMap<String, Integer> date2day) 

Method Source Code


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

import java.text.SimpleDateFormat;
import java.util.*;

public class Main {
    public static int getDay(Date date, HashMap<String, Integer> date2day) {
        SimpleDateFormat dateformatYYYYMMDD = new SimpleDateFormat("yyyyMMdd");
        String today = dateformatYYYYMMDD.format(date);
        int day = date2day.get(today);
        return day;
    }//from w  ww  .  j  ava  2s  . c o  m
}

Related

  1. getDateYYMMDD(java.util.Date date)
  2. getDay(Date date)
  3. getDay(Date date)
  4. getDay(Date date)
  5. getDay(Date date)
  6. getDay(java.util.Date date)
  7. getDay(SimpleDateFormat df, String dateStr)
  8. getDay(String aDate)
  9. GetDay(String agmipDate)