Draft

Weton

Description:

Weton

Javanese have five days. They call it Pasaran. Those five days are written in order:
  1. Pahing
  2. Pon
  3. Wage
  4. Kliwon
  5. Legi

It will be changed each time the day changed. For example if today is Pahing, then tomorrow will be Pon and yesterday must be Legi.

Javanese also use normal day "Dina" in their language. Here the name of the days in Javanese:

  1. Minggu (Sunday)
  2. Senin (Monday)
  3. Selasa (Tuesday)
  4. Rebo (Wednesday)
  5. Kemis (Thursday)
  6. Jemuwah (Friday)
  7. Setu (Saturday)

Your task is to convert the conventional date to Javanese format which is combination between normal day names and five day names for example: Kemis Pon, Selasa Pahing, Rebo Wage, etc. This combination in Javanese called Weton.

The conventional format could be full date or numeric date:

1. October 22, 2019
2. 22 October 2019
3. 22 October, 2019
4. 10/22/2019
5. 2019-10-22

I will give you the clue for today, October 23, 2019 will give a result Rebu Wage.

Fundamentals
Algorithms

Stats:

CreatedOct 22, 2019
Warriors Trained21
Total Skips0
Total Code Submissions41
Total Times Completed7
Java Completions7
Total Stars3
% of votes with a positive feedback rating30% of 5
Total "Very Satisfied" Votes0
Total "Somewhat Satisfied" Votes3
Total "Not Satisfied" Votes2
Total Rank Assessments5
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • masudin Avatar
Ad