Talk:Pawukon calendar

message: while the definition of the Pawukon is perhaps correct in this article, but the rest of the content actually refers to one other term called "Wewaran". The "ten concurrent weeks" are collectively known as Wewaran, hence the part "Wara" in the name Eka Wara (for the 1-day week, Eka = one), Dwi Wara (2-days week), and so on.
Actually I'm not too sure about calling this "wara" as "week" (see my next paragraph), but I can't find a more appropriate term.
Pawukon stems from "Wuku", which more or less means "week", or "the name of a week". For example, the first week (in the 210 days cycle) is called "Sinta", and the last week is "Watugunung". There are 30 weeks for the 210 days, so there are 30 wukus, from Sinta to Watugunung. These wukus start on Sunday (which is Redite; the "first day" in Sapta Wara).
I should very like to start an article (or stub) about Pawukon, but I'm not confident of my writing ability. —The preceding unsigned comment was added by Nekudotayim (talk • contribs) 09:59, 19 March 2007 (UTC)
thread_title:  wewaran 

message: I cobbled together this information on the calendar from various Internet sources. I put it in the form of JavaScript code, as that way, one can see the algorithm. The code was designed to be easily modified, so that one can check dates from different sources against each other.
 function rata(yyyy,mm,dd) {
 // Function input:
 //  yyyy is year (must be positive)
 //  mm is month (January is month 1)
 //  dd is day of the month
 // Function output:
 //  Function returns 0 for invalid dates (like Feb. 30)
 //  For valid dates, function returns day number of input
 //  where January 1 of year 1 is day number 1
 //  and counting days forward from there without break
 var mlen=new Array(); mlen[0]=0; 
 mlen[1]=31; mlen[2]=28; mlen[3]=31; mlen[4]=30;
 mlen[5]=31; mlen[6]=30; mlen[7]=31; mlen[8]=31;
 mlen[9]=30; mlen[10]=31; mlen[11]=30; mlen[12]=31; 
 // validate input, incl. check for leap years
 var myerrmsg="Error: non-numeric input to rata()"
 if (typeof(yyyy)!="number") throw new Error(myerrmsg);
 if (typeof(mm)!="number") throw new Error(myerrmsg);
 if (typeof(dd)!="number") throw new Error(myerrmsg);
 if (yyyy!=yyyy|0) return 0;
 // above line also rejects some ridiculously large years
 // beyond which the calendar will have long ceased
 // to have any human relevance
 if (mm!=mm|0) return 0;
 if (dd!=dd|0) return 0;
 if (yyyy<1) return 0;
 if (mm<1 || mm>12) return 0;
 if ((!(yyyy%4) && (yyyy%100)) || !(yyyy%400)) mlen[2]++;
 if (dd<1 || dd>mlen[mm]) return 0;
 // if we're past here, we know we have a valid date
 // note we have also checked for a leap year
 // and modified the month array if necessary
 var dc=0; // day count
 dc+=365*(yyyy-1) // total days in all years before this one
 dc+=(((yyyy-1)/4)|0) // here we count the leap days
 dc-=(((yyyy-1)/100)|0) // 100-year rule
 dc+=(((yyyy-1)/400)|0) // 400-year rule
 var lc=0; for (lc=1; lc<mm; lc++) dc+=mlen[lc];
 // above loop counts days in preceding months
 return dc+dd; // count remaining days and output total
 }
 //
 // Pawukon names
 var pwa=new Array(); pwa[0]=""; // week names
 pwa[1]="Sinta"; pwa[2]="Landep";pwa[3]="Ukir";
 pwa[4]="Kulantir"; pwa[5]="Tolu";pwa[6]="Gumbreg";
 pwa[7]="Wariga"; pwa[8]="Warigadian";pwa[9]="Julungwangi";
 pwa[10]="Sungsang"; pwa[11]="Dungulan";pwa[12]="Kuningan";
 pwa[13]="Langkir"; pwa[14]="Medangsia";pwa[15]="Pujut";
 pwa[16]="Pahang"; pwa[17]="Krulut";pwa[18]="Merakih";
 pwa[19]="Tambir"; pwa[20]="Medangkungan";pwa[21]="Matal";
 pwa[22]="Uye"; pwa[23]="Menail";pwa[24]="Prangbakat";
 pwa[25]="Bala"; pwa[26]="Ugu";pwa[27]="Wayang";
 pwa[28]="Kelawu"; pwa[29]="Dukut";pwa[30]="Watagunung";
 var p7a=new Array(); p7a[0]=""; // weekday names
 p7a[1]="Redite"; p7a[2]="Coma"; p7a[3]="Anggara";
 p7a[4]="Buda"; p7a[5]="Wraspati"; p7a[6]="Sukra";
 p7a[7]="Saniscara";
 var p5a=new Array(); p5a[0]=""; // pancawara day names
 p5a[1]="Paing"; p5a[2]="Pon"; p5a[3]="Wage";
 p5a[4]="Kliwon"; p5a[5]="Umanis";
 var p3a=new Array(); p3a[0]=""; // triwara day names
 p3a[1]="Pasah"; p3a[2]="Beteng"; p3a[3]="Kajeng";
 //
 // Pawukon calculation
 //
 now=new Date(); // get today's date
 // you can modify this section to use any date
 var y=now.getFullYear(); // extract year
 var m=now.getMonth()+1; // extract month
 var d=now.getDate(); // extract day of month
 //
 var pz=(rata(y,m,d)-91)%210; // index for day (0 to 209)
 var pd=pz+1; // day of cycle (1 to 210)
 var p7=(pz%7)+1; // day of week (1 for Sunday/Redite)
 var pw=((pz/7)|0)+1; // week (1 for Sinta)
 var p5=(pz%5)+1; // day of pancawara (1 for Paing)
 var p3=(pz%3)+1; // day of triwara (1 for Pasah)
 //
 document.write(y+"-"+m+"-"+d+" "+pwa[pw]+" (week #"+pw+") "+
  " "+p7a[p7]+" "+p5a[p5]+" "+p3a[p3]);
—Preceding unsigned comment added by 75.24.77.33 (talk) 11:36, 20 July 2009 (UTC)
thread_title:  Code for the calendar 

message: It'd be great if someone knowledgeable could discuss the purpose and usage of this calendar. Presumably all this complexity has at least a ritual purpose behind it. 74.131.21.156 (talk) 05:08, 29 November 2010 (UTC)
thread_title:  Usage of the calendar 

message: I came across this article when looking for info about countries/cultures that do not use a 7-day week. This article describes a calendar that sounded to me so novel, and so short of references (just the one ref when I first arrived, and that ref is not online so I can't easily check it), that I was wondering whether it was just something that someone just made up. So I decided to do some research, and find more refs. So far I think I have found that it is probably not "just made up". I am not ready to edit the article itself, but here are some things I have found:
* https://blogs.bl.uk/asian-and-african/2018/11/pawukon-javanese-calendrical-manuscripts.html This is a "blog" but seems to be quite a prestigious one as it is hosted by the British Library, and is credited to "Prof. Ann Kumar of the Australian National University". It mentions the word "pawukon" in connection with calendars, but not as a type of calendar, but in the phrase "illustrated manuscripts known as pawukon". It mentions a 210 day cycle and seems to involve weeks of length 1 to 10, but is referred to as the "wuku calendar". 
* http://www.pawukon.com/ This is probably a low-quality ref. It refers to "the Pawukon calendar which is still in active use on the Indonesian island of Bali" and says it "dates back to the 14th century".
* https://www.cambridge.org/core/books/calendrical-calculations/balinese-pawukon-calendar/AE3E7D55A609FFA3017A40C70A15A758 This seems to be a high-quality academic ref but only the summary is easily available: "The Balinese Pawukon Calendar ...  is a complex example of a calendar based on concurrent cycles. The whole calendar repeats every 210 days, but these 210-day “years” are unnumbered. The calendar comprises 10 subcycles of lengths 1 through 10, all running simultaneously. The subcycles that determine the calendar are those of length 5, 6, 7; the others are altered to fit, by repetitions or other complications." This led me to the next...
* https://monoskop.org/images/5/54/Geertz_Clifford_The_Interpretation_of_Cultures_Selected_Essays.pdf which is easily downloadable. It does not mention the word "pawukon", but it does mention a 210-day cycle, and the word "uku", in relation to calendars in Bali. See The Interpretation of Cultures.
* http://calendopedia.com/balinese.htm talks about a 210 day Balinese Pawukon Calendar.
* https://id.wikipedia.org/wiki/Wuku in the Indonesian Wikipedia seems to say that Wuku and Pawukon are the Balinese and Javanese names for the same thing (but I am not sure because I am just reading the machine translation).
* and there are many other mentions on the web.
In conclusion I think this article is about a calendar in the real world, and it could be expended with further info and references. FrankSier (talk) 11:43, 4 June 2019 (UTC)
thread_title:  Looking for more references