WhatWeek?: “Calculating” weeknumber and day of the week
In this posts we’ll take a look at some of the basic functionality of the application: informing the user of weeknumber and day of the week, based on a date, given by the user. To do this, we need the application to do some very basic “calculations”, using the GregorianCalendar.
First Android-Project: WhatWeek?
As mentioned in a previous post, my first project in Java is a simple Android-application. The main element used in this application is the GregorianCalendar, since the point of the application is calculating weeknumber and day of the week based on a date, and calculating dates based on a weeknumber. The calculations will be based on the danish calendar (the first day of the week is monday, not sunday as in the states).
I’ll be describing the project in several smaller posts, instead of one massive post. Every post will deal with a given aspect of the application, and I’ll provede descriptions and code-snippets. Of course, the source-code and .apk will be available!