Jump to content

Talk:Pawukon calendar

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Untitled

[edit]

Can you give the correspondence between the 210-day cycle and the Julian day number?

wewaran

[edit]

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 (talkcontribs) 09:59, 19 March 2007 (UTC).[reply]

Code for the calendar

[edit]

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)[reply]

Usage of the calendar

[edit]

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)[reply]

I'd like to have some idea when this was developed. With such complexity it either had to be accidental evolution of half a dozen systems or some relatively advanced mathematical thought processes. Calendars are a fascinating insights into the roles of religion and science in different cultures at surprisingly similar times. HalFonts (talk) 22:30, 5 October 2013 (UTC)[reply]

Looking for more references

[edit]

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:

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)[reply]