473,732 Members | 2,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

State holidays

Bob
In .NET, is there an easy way to determine State Holidays, such as
Thanksgiving, Memorial day, etc?
Any reference is appreciated.

Nov 20 '05 #1
54 2144
Roll your own class. The state holidays will be available on the web. Or use
google, there are lots of examples. It depends on how it will fit within
what you are trying to do.
Regards - OHM#


--------------------------

Bob wrote:
In .NET, is there an easy way to determine State Holidays, such as
Thanksgiving, Memorial day, etc?
Any reference is appreciated.


Regards - OHM# On**********@BT Internet.com
Nov 20 '05 #2
Roll your own class. The state holidays will be available on the web. Or use
google, there are lots of examples. It depends on how it will fit within
what you are trying to do.
Regards - OHM#


--------------------------

Bob wrote:
In .NET, is there an easy way to determine State Holidays, such as
Thanksgiving, Memorial day, etc?
Any reference is appreciated.


Regards - OHM# On**********@BT Internet.com
Nov 20 '05 #3
Speaking of state holidays...

Don't you find it funny that every religious holiday is in December?

Why is Dec 25 the only date that is really given off? What happened to
separation of Church and State? Sure... I know its called a "Winter
Holiday" on Dec 25... but why the 25th? What about the Jewish people? I'm
sure they don't care about dec 25... you know, espeically not believing that
catholic/christian viewpoint of "Jesus is the messiah".

And haven't we had enough of religion yet?

"One Handed Man [ OHM# ]" <OneHandedMan@& REMOVE&TO%MAIL% MEBTInternet.co m>
wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Roll your own class. The state holidays will be available on the web. Or use google, there are lots of examples. It depends on how it will fit within
what you are trying to do.
Regards - OHM#


--------------------------

Bob wrote:
In .NET, is there an easy way to determine State Holidays, such as
Thanksgiving, Memorial day, etc?
Any reference is appreciated.


Regards - OHM# On**********@BT Internet.com

Nov 20 '05 #4
Speaking of state holidays...

Don't you find it funny that every religious holiday is in December?

Why is Dec 25 the only date that is really given off? What happened to
separation of Church and State? Sure... I know its called a "Winter
Holiday" on Dec 25... but why the 25th? What about the Jewish people? I'm
sure they don't care about dec 25... you know, espeically not believing that
catholic/christian viewpoint of "Jesus is the messiah".

And haven't we had enough of religion yet?

"One Handed Man [ OHM# ]" <OneHandedMan@& REMOVE&TO%MAIL% MEBTInternet.co m>
wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Roll your own class. The state holidays will be available on the web. Or use google, there are lots of examples. It depends on how it will fit within
what you are trying to do.
Regards - OHM#


--------------------------

Bob wrote:
In .NET, is there an easy way to determine State Holidays, such as
Thanksgiving, Memorial day, etc?
Any reference is appreciated.


Regards - OHM# On**********@BT Internet.com

Nov 20 '05 #5
* "Bob" <bo******@yahoo .com> scripsit:
In .NET, is there an easy way to determine State Holidays, such as
Thanksgiving, Memorial day, etc?
Any reference is appreciated.


The framework doesn't contain a class for doing that, nearly every
country has its own "holidays".

;-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
It's because of a majority thing... in college they do it right, give the
whole month off for "winter vacation"... if you where to give holidays off
for every religion we'd never do anything really... it's kind of a
concession... give everyone a day off no matter the religion where the
majority stands... if you want the other days off also, you can request them
as religious holidays and they can't legally dock you for time or anything
in the USA at least...
"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:vt******** ****@corp.super news.com...
Speaking of state holidays...

Don't you find it funny that every religious holiday is in December?

Why is Dec 25 the only date that is really given off? What happened to
separation of Church and State? Sure... I know its called a "Winter
Holiday" on Dec 25... but why the 25th? What about the Jewish people? I'm sure they don't care about dec 25... you know, espeically not believing that catholic/christian viewpoint of "Jesus is the messiah".

And haven't we had enough of religion yet?

"One Handed Man [ OHM# ]" <OneHandedMan@& REMOVE&TO%MAIL% MEBTInternet.co m>
wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Roll your own class. The state holidays will be available on the web. Or

use
google, there are lots of examples. It depends on how it will fit within
what you are trying to do.
Regards - OHM#


--------------------------

Bob wrote:
In .NET, is there an easy way to determine State Holidays, such as
Thanksgiving, Memorial day, etc?
Any reference is appreciated.


Regards - OHM# On**********@BT Internet.com


Nov 20 '05 #7
Cor
Hi Herfried,

I was thinking this also, but than by thinking again, in .Net you have
regional settings, so I think this question is totaly normal. I think it
would be a nice addition to the framework from Net.

Cor

The framework doesn't contain a class for doing that, nearly every
country has its own "holidays".

Nov 20 '05 #8
It would not make sense to hard code holidays into the locale. After all,
significant events may happen which change public holiday days per state.

OHM#

Cor wrote:
Hi Herfried,

I was thinking this also, but than by thinking again, in .Net you
have regional settings, so I think this question is totaly normal. I
think it would be a nice addition to the framework from Net.

Cor

The framework doesn't contain a class for doing that, nearly every
country has its own "holidays".


Regards - OHM# On**********@BT Internet.com
Nov 20 '05 #9
Cor
Hi OHM

This is not so different with the summertime zones.

You know Brittain had long time a different time for that than the rest of
Europe I thought now it is equal (of course with the normal 1 hour
difference), I am not totaly sure for this.

Cpr
It would not make sense to hard code holidays into the locale. After all,
significant events may happen which change public holiday days per state.

Nov 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5115
by: Nils Magnus Englund | last post by:
Hi! I have a large table in SQL Server 2000 with a datetime-column 'dt'. I want to select all rows from that table, excluding days which fall on holidays or weekends. What is the best way to accomplish this? I considered creating a new table called "holidays" and then selecting all rows (sort of "where not in (select * from holidays)") , but I was looking for a better solution since that implies that I have to populate the "holidays"...
8
1863
by: Bob | last post by:
In .NET, is there an easy way to determine State Holidays, such as Thanksgiving, Memorial day, etc? Any reference is appreciated.
34
7478
by: MLH | last post by:
http://www.opm.gov/Fedhol/ http://www.opm.gov/Fedhol/2008.asp Federal law (5 U.S.C. 6103) establishes the following public holidays for Federal employees. Please note that most Federal employees work on a Monday through Friday schedule. For these employees, when a holiday falls on a nonworkday -- Saturday or Sunday -- the holiday usually is observed on Monday (if the holiday falls on Sunday) or Friday (if the holiday falls on Saturday)....
0
1281
by: dawson | last post by:
Hello, we have a travel agent client with two websites, they are pretty much identical apart from the template (master pages) and a few copy edits here and there, they are however on seperate domains. The search functionality, login, register and rest of the code base is identical. TravelAgentWebsite1 is for worldwide holidays, and TravelAgentWebsite2 only UK holidays. Now, if a client was to perform a search on TravelAgentWebsite1,...
0
8944
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8773
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9445
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9234
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9180
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6733
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4805
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2177
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.