First, thanks to all who replied.
Since this project will also include global application, I will need to consider the points brought up by mmerlinn.
Sounds to me like a simple evaluation is not in order....bummer!
The problem with using that method is that if I have a numeric value such as 22222 and 555, it considers the first to be less than the second which is not true because it's comparing the data from left to right.
Is there a way to evaluate if one alpha/numeric value is greater than the other.
Example:
Canadian Postal Code A4A6B is greater than Canadian Postal Code A2A1B
I tried the eval method, but it returns an error.
Here's an easy example that will result in day of week is 7:
Date thisDate = new Date("1-Feb-2006 10:35:00 PM");
Calendar firstCal = Calendar.getInstance();
firstCal.setTime(thisDate);
System.out.println("Date = " + firstCal.getTime());
int firstday =...
I'm confused.
The value I'm getting back now for variable firstCal is correct for Wednesday, February 1, 2006, but the firstCal.DAY_OF_WEEK is still returning a 7?
I have my Calendar date set for Wednesday, February 1, 2006.
I am trying to get the int value for the day of week for that date, which I assume should return 3 for a Wednesday.
Calendar myCal = Calendar.getInstance();
firstCal.set(Calendar.MONTH,2);
firstCal.set(Calendar.DAY_OF_MONTH,1)...
Since switching over to netbeans 5.0, I am getting a warning message that the 3 set commands below in java.util.Date have been deprecated.
The class still compiles. Have these set commands changed?
Any help will be appreciated. Thanks.
date in bold below is a variable being passed to the method...
Hi,
I have 2 Vectors with the exact same structure that I want to combine into one.
Currently, I'm looping through first and second vector with a method that returns a list with both vectors' values.
Is there an easier way of doing this?
String sTitle = "Display One Value"
On the Title of my row <TR>, I want to display a variable that contains multi-lines,
example:
When hovering the row, I would like user to see:
"Display Value 1"
"Display Value 2"
Instead of "Display Value 1 Display Value 2"
Can this be done using Java code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.