Talk:Last Friday of each month: Difference between revisions

problem with Java
(→‎1582: Recommenation of a Calendar calculator)
(problem with Java)
Line 1:
== Java ==
 
The Java example gives me this result (the problem is at the last line):
java LastFridays 2012
2012 Jan 27
2012 Feb 24
2012 Mar 30
2012 Apr 27
2012 May 25
2012 Jun 29
2012 Jul 27
2012 Aug 31
2012 Sep 28
2012 Oct 26
2012 Nov 30
2012 Dec 28
2012 25
[[User:Blue Prawn|Blue Prawn]] 07:30, 31 December 2012 (UTC)
 
== command line ==
Why does the task specify that the year is supplied from the command line? This seems to conflate two totally separate language capabilities--date arithmetic and command line handling. For the PHP example, I'm just ignoring the command line requirement. --[[User:Showell|Showell]] 17:37, 20 January 2012 (UTC)