HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Java language problem.
Operating System - HP-UX
1837004
Members
1998
Online
110111
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 05:34 AM
06-12-2002 05:34 AM
Java language problem.
I have a aplication that uses java to get the weekday, from a java funtion.
I have /etc/TIMEZONE file good configurated:
TZ=MET-1METDST
export TZ
The problem is that the weekday format is in USA format, ( week starts on Saturday ), and I need to get the exit on spanish format ( week starts on Monday ).
Maybe, I need some patch or some java library.
My Java is RTE 3.1
My O.S. is HPUX 11.00
Can anybody give me some idea ?
Thanks in advance.
Juanma.
I have /etc/TIMEZONE file good configurated:
TZ=MET-1METDST
export TZ
The problem is that the weekday format is in USA format, ( week starts on Saturday ), and I need to get the exit on spanish format ( week starts on Monday ).
Maybe, I need some patch or some java library.
My Java is RTE 3.1
My O.S. is HPUX 11.00
Can anybody give me some idea ?
Thanks in advance.
Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 05:52 AM
06-12-2002 05:52 AM
Re: Java language problem.
Actually in the US the start day is Sunday, but that doesn't matter. Have you looked at firstDayOfWeek ??
getFirstDayOfWeek
public int getFirstDayOfWeek()Gets what the first day of the week is; e.g., Sunday in US, Monday in France.
Returns:
the first day of the week.
http://oss.software.ibm.com/icu4j/icu4jhtml/com/ibm/util/Calendar.html#getFirstDayOfWeek()
live free or die
harry
getFirstDayOfWeek
public int getFirstDayOfWeek()Gets what the first day of the week is; e.g., Sunday in US, Monday in France.
Returns:
the first day of the week.
http://oss.software.ibm.com/icu4j/icu4jhtml/com/ibm/util/Calendar.html#getFirstDayOfWeek()
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:03 AM
06-12-2002 06:03 AM
Re: Java language problem.
I do not know how the aplication people get the first day of the week. So I supose that use this funtion.
Sorry, it is true that the first day of the week on US is Sunday, sorry.
Could you please explain a little more about this ?.
Thanks.
Juanma.
Sorry, it is true that the first day of the week on US is Sunday, sorry.
Could you please explain a little more about this ?.
Thanks.
Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP