Menu

Days that we celebrate in the world

January:

1
New Year’s Day
4
Myanmar Independence Day
12
National Youth Day
15
Army Day
26
India's Republic Day and International Customs day
30
Martyrs' Day
31
Street Children’s Day

February:

4
World Cancer Day
4
Sri Lanka Independence Day
6
International Day of Zero Tolerance to Female Genital Mutilation
12
Darwin Day
13
Hug Day
14
Valentine's Day 
15
Breakup Day
21
International Mother Language Day
22
Thinking Day
24
Central Excise Day
28
National Science Day

March:

1
Saint David's Day 
2
Texas Independence Day 
8
International Women's Day
14
Pi Day 
15
World Consumer Rights Day
15
World Disabled Day
17
Saint Patrick's Day
20
World Sparrow Day
21
World Down Syndrome Day
21
World Poetry Day
21
World Forestry Day.
21
International Day for the Elimination of Racial Discrimination
22
World Water Day 
23
Youm-e-Pakistan (Pakistan Day)
23
World Meteorological Day.
24
World Tuberculosis Day
25
Greece Independence Day
26
Purple Day
26
Bangladesh Independence Day

April:

1
April Fools' Day
2
World Autism Awareness Day
5
National Maritime Day.
7
National Beer Day
7
World Health Day.
8
International Romani Day
15
Day of Silence
15
Day of Dialogue
16
Foursquare Day 
17
World Hemophilia Day
18
World Heritage Day.
22
Earth Day.
23
St George's Day
23
World Book Day 
25
ANZAC Day
25
Italy's Liberation Day
25
World Malaria Day
26
World Intellectual Property Day
30
International Jazz Day

May:

1
May Day 
1
Workers Day (International Labor Day).
3
World Press Freedom Day 
4
Remembrance of the Dead 
4
Star Wars Day
4
Greenery Day
5
International Midwives' Day 
6
International No Diet Day
7-8
Victory in Europe Day
8
World Red Cross Day.
11
Military Spouse Appreciation Day 
11
National Technology Day.
12
International Nurses Day 
14
Israel Independence Day
15
International Day of the Family.
17
International Day Against Homophobia and Transphobia 
17
World Telecommunication Day, World Information Society Day
22
International Day for Biological Diversity 
24
Commonwealth Day.
25
International Missing Children's Day 
25
Africa Day
25
Towel Day 
31
Anti-Tobacco Day

June:

1
National Cancer Survivors Day 
4
International Day of Innocent Children Victims of Aggression.
5
World Environment Day.
6
D-Day 
8
World Oceans Day
14
World Blood Donor Day 
18
Autistic Pride Day 
20
World Refugee Day
21
World Hydrography Day 
21
World Music Day 
26
International day against Drug abuse & Illicit Trafficking
27
World Diabetes Day.

July:

1
Doctor's Day
4
America Independence Day (United States) 
6
World Zoonoses Day
11
World Population Day
26
Maldives Independence Day
29
International Tiger Day

August:

3
International Friendship day
4
Friendship Day
6
Hiroshima Day
8
World senior citizen's day
9
Quit India Day and Nagasaki Day
12
International Youth Day
13
International Lefthanders Day 
14
Youm-e-Azadi (Pakistan Independence Day)
14-15
Victory over Japan Day 
15
India Independence Day
15
Korea Independence Day
16
Bennington Battle Day 
17
Indonesia Independence Day.
19
Afghanistan Independence Day
19
Photography day
20
World Mosquito Day
20
Indian Akshay Urja Day
23
European Day of Remembrance for Victims of Stalinism and Nazism 
29
National Sports Day
31
Malaysia Independence Day

September:

5
Teachers' Day(Radha Krishnan Birthday)
8
World Literacy Day
9
North Korea Independence Day
15
Engineer's Day 
16
World Ozone Day.
19
International Talk Like a Pirate Day 
21
Alzheimer's Day. 
21
Day for Peace and Non-violence (UN)
26
European Day of Languages 
26
World Contraception Day 
26
Day of the Deaf.
27
World Tourism Day

October:

1
World Vegetarian Day
1
International day of the Elderly
3
German Unity Day
3
World Habitat Day
4
World Animal Welfare Day
6
German-American Day 
8
National Hug Day
8
Indian Air Force Day
9
World Post Office day
10
World Mental Health Day 
10
National Post Day
13
UN International Day for National disaster reduction.
14
World Standards Day.
15
Pregnancy and Infant Loss Remembrance Day 
15
World White Cane Day( guiding the Blind).
16
World Food Day.
23
Mole Day 
24
UN Day, World development information Day.
30
World Thrift Day.

November:

1
World Vegan Day 
1
All Saints' Day 
2
All Souls' Day 
5
Bonfire Night (also Guy Fawkes Night)
11
Armistice Day (also Remembrance Day)
11
Veterans Day 
14
Children's Day ( in India )
16
National Press Day
19
International Men's Day 
19
World Toilet Day
20
Transgender Day of Remembrance 
20
Africa Industrialization Day.
29
International Day of Solidarity with Palestinian People.
30
Cities for Life Day 

December:

1
World Aids Day.
4
Indian Navy Day.
4
Finland Independence Day.
5
International Volunteer Day
7
Armed Forces Flag Day.
10
Human Right Day.
23
Kisan Divas Farmer's Day).
25
Christmas Day
25
Quaid-e-Azam(Mohammad Ali Jinnah) Day

A part from these days we have few more days are are keep moving and there is no any date fix for those days. Below are those days.


depends on the date of Easter (as early as February 4 or as late as March 10)
Ash Wednesday 
1st day of the 1st month of the Chinese calendar
Chinese New Year
Sunday March 22 to April 25 inclusive
Easter – Western Christianity
April 4 and May 8 (1900 to 2100)
Easter – Eastern Christianity
Start from the month of Moharram(First month in Islamic Calender) 
Islamic  New Year
 After completion of Ramadan.
Eid Ul Fitr
 10th day of Dhu al Hijjah
Eid Al Adha 
15th day of the 1st month in the lunar year in the Chinese calendar
Lantern Festival
14th of the Hebrew month of Adar
Purim 
the day before Ash Wednesday
Shrove Tuesday 
3rd Monday of January
Martin Luther King, Jr. Day 
 third Monday of February
Washington's Birthday 
 Second Sunday of May in many nations
Mother's Day 
Third Sunday of June in the U.S., United Kingdom and others
Father's Day 
first, second or third Saturday in June
Queen's Official Birthday 
 First Monday of the month of September
Labor Day (US)
Third Thursday of November
Thanksgiving (United States) 
1st Tuesday in November
Melbourne Cup Day 
third Thursday in November, November 15
World Philosophy Day 

Grant other AEM user to Apache Felix web console

By default only admin user have access to open the Apache Felix web console. Most of the time people have requirement to grant other users and group of users as well to manage the Felix console, so granted users also can read the write the configurations.

How to grant other user to Apache Felix


Apache Sling Web Console Security Provider is a configuration in Apache Felix [http://localhost:4502/system/console/configMgr] where we need to add other users to whom we want to allow access to Apache Felix web console.

Configuration for the security provider used to verify user credentials and grant access to the Apache Felix Web Console based on registered JCR Repository users.

Apache Sling Web Console Security Provider - Apache Felix restriction
Apache Sling Web Console Security Provider

Persistent Identity (PID): 

org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider

User Names 

Names of users granted full access to the Apache Felix Web Console. By default this lists the "admin" user. A maximum of 20 users may be configured. Administrators are encouraged to create a group whose members are to be granted access to Web Console instead of allowing access to individual users. (users)

Group Names 

Names of groups whose members are granted full access to the Apache Felix Web Console. The default lists no groups. Administrators are encouraged to create a group whose members are to be granted access to the Web Console. A maximum of 20 groups may be configured. Using groups to control access requires a Jackrabbit based repository. (groups)

Recursive method in Java

How to write a recursive method in Java?

Below is the code snippet of a recursive method in Java to generate numbers and check the number and execute the method again. In the below example printNumber() is a recursive method that will get called inside its own body.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package rashidjorvee;

public class RecursiveMethod {

 public static void main(String[] args) {

  RecursiveMethod recursiveMethod=new RecursiveMethod();
  recursiveMethod.printNumber(2);

 }
 private void printNumber(int j) {
  try {
   int i=j; 
    if(i==2) {
     printNumber(4);
    }
    System.out.println("Number "+i);
    }
  catch(Exception e) {

  }
 }
}