Well the user will enter dd/mm/yyyy. So it should be a value of -6 since I only want the yyyy. I have tried that as well though and it doesn't work. I have tried: (""), (0), (1), and (6). None of...
Type: Posts; User: freestylpolaris
Well the user will enter dd/mm/yyyy. So it should be a value of -6 since I only want the yyyy. I have tried that as well though and it doesn't work. I have tried: (""), (0), (1), and (6). None of...
public class Asset
{
//*****************************************************
// Variables
//*****************************************************
private String assetID;
private...
Ok, I understand the buffer but the calcAge method; it doesn't even let the user enter data. As soon as it gets to that input those errors automatically arise. It does not even ask the user to input...
Hi all. I am trying to run a method called "calcAge" that takes a mm/dd/yyyy string, converts it to an int, and then ONLY takes the yyyy part. Once the yyyy part is isolated I must then subtract it...