Java Month Calculate getMonthsMap()

Here you can find the source of getMonthsMap()

Description

Returns a map of months

License

Apache License

Declaration

public static Map<String, String> getMonthsMap() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.*;

public class Main {
    /**/*from www.  j av a  2  s . c  om*/
     * Map of months, using the number as the key, month name as the value
     */
    public static Map<String, String> monthNames;

    /**
     * Returns a map of months
     *
     * @see #monthNames
     */
    public static Map<String, String> getMonthsMap() {
        return monthNames;
    }
}

Related

  1. getlastDateofThisMonth()
  2. getLastMonthBegin()
  3. getMonthFormat(String date)
  4. getMonthlyIntervals(Date start, Date end)
  5. getMonthNumber()
  6. getMonthsOfAge(Date birth, Date now)
  7. getMonthSpan(Date begin, Date end)
  8. getNextMonth(long date)
  9. getNextMonthExtention(Date dt, Long n)