- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
What happened to "throw new IllegalArgumentException("unknown desired day: "+desiredDay);"?
Admin
*In fact, with very few exceptions, all nouns are capitalized.
Admin
Wow, are we really debating what the first day of the week is?
Find a calendar. Like this one, for example: http://www.timeanddate.com/calendar/ You will see that they show the days grouped into months, and within months grouped into weeks. In a typical format, there is one line for each week, with the days of the week written across the top, in order.
Now look carefully. Which day is first? Hmm, that would be "Sunday". Which is last? "Saturday".
I suppose if you search enough you can find calendars with some other arrangement. But this would be the exception. 95+% of calendars show the week beginning with Sunday.
Study the history. Sunday has routinely been understood to be the first day of the week for thousands of years. At least for as long as we have had the word "Sunday".
Admin
That's why I think we should totally reform the calendar and replace it with something simple and regular. Why are the months different lengths? Why are some years one day longer than others? And then to add to the craziness, somebody came up with daylight savings time so two days per year are not 24 hours. And if you want to get really crazy, you have those insane people who want to add leap seconds every now and then. Yeah, that makes for a good, convenient time-keeping system.
Here's my suggestion: We have 13 months per year. Each month has exactly 4 7-day weeks, or 28 days. All days are 24 hours long. The first of every month is a Sunday. Period.
Think of the advantages. With all months the same length, you wouldn't have to remember silly rhymes like "30 days hath September" or however you keep track of this. No complex leap-year rules either. Date arithmetic would be simple.
Yes yes, I'm sure someone will say that my calendar would be wrong because it has only 364 days in a year while a year is actually 365-point-something days. To which I reply: Where is it written that a calendar year must exactly match the time it takes the Earth to travel around the sun? Our calendar doesn't exactly match it now: it just approximates it. What disasters would occur if we had a less-close approximation that gave us a simpler and easier to manage calendar? So the seasons would not always start on the same date every year. So what? In practical terms, just because the winter solstice occurs on Dec 22 doesn't mean that winter weather begins on that date, like it's always a comfortable temperature outdoors on Dec 21 but freezing cold and snowing on Dec 23. So over the course of your lifetime, the start of winter would move a couple of months. So what? I think it would be less hassle to keep track of a changing date for the start of the seasons then all the messiness we put up with in our present calendar.
Admin
Admin
Admin
Except it isn't. If you had actually looked at the link you posted, you would have seen that the calendar shows Monday as the first day, as is the international standard. Of course, except if you live in the US, or another country that ignores international standards, in which case it helpfully localises its calendar to your local traditions.
Admin
I guess the site checks the ip address of the client to choose the settings for the clients setting. it is possile to hange the seting on the pag