Wrox Programmer Forums
|
BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3
This is the forum to discuss the Wrox book Beginning C# 3.0 : An Introduction to Object Oriented Programming by Jack Purdum; ISBN: 9780470261293
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2009, 12:02 PM
Registered User
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to peryan77
Default Error in GetEaster method on page 226

The method always returns the correct day, however, the logic for determining the month seems incorrect.

For example, if i use year 2999, it returns 24th, but since total > 31 (58) the month becomes April, but in fact Easter is in March for 2999.
 
Old November 20th, 2009, 12:36 PM
Friend of Wrox
 
Join Date: Sep 2008
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default Easter

I think I do remember a caveat on the algorithm about the range of dates over which it is accurate. However, I'm in FL right now and don't have my materials with me. However, if the 2012 thingie is correct, you won't need to worry about it!
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6 pps 226-228 User Selected Theme Featheriver BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 April 20th, 2011 07:08 AM
FindControl method get nothing in Gridview with Master Page Michael YoeH ASP.NET 3.5 Professionals 4 August 28th, 2009 03:42 AM
Master Page Method: Code-Behind for Content Page kwilliams ASP.NET 2.0 Professional 3 June 2nd, 2008 12:57 PM
aspx page not loading!!!! Method called too soon dba123 C# 0 August 6th, 2006 11:18 PM
LoadControl Method and the Reference Page Direct. reckon ASP.NET 1.0 and 1.1 Professional 8 June 12th, 2004 09:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.