avalagne

Czech Republic

Apr
26
comment Bad week of year in Java
I save substring from date as year, which expected 4 characters, but when user enter only two, program faults with StringIndexOutOfBoundsException. I don't know how else to treat.
Apr
26
comment Bad week of year in Java
Fault is StringIndexOutOfBoundsException. So how should I treat the entered date? I need that when a user enters the wrong date, the program did not fall and called it by another attempt to enter. This can be achieved just by using exception or not?
Apr
26
comment Bad week of year in Java
I have one more question about SimpleDateFormat. I now use this method to control correct date format: link When I enter date in wrong format dd.MM.yy (10.10.20) for example, program faults. Why?
Apr
25
comment Bad week of year in Java
Thank you for reply. I once again find fault entirely different type. I try to use SimpleDateFormat. Many thanks!
Apr
25
asked Bad week of year in Java
Apr
3
comment Grammar description for language Java
Thanks for the suggestion, I forgot it, even though I've used it in the past.
Apr
3
accepted Grammar description for language Java
Apr
3
comment Grammar description for language Java
Yes, I understand... Thank you.
Apr
3
comment Grammar description for language Java
Thank you, exactly looking for.
Apr
3
comment Grammar description for language Java
Thank you, that's useful to me.
Apr
3
comment Grammar description for language Java
Sorry, but somehow I do not see what I could use from that link. I need to find official information that I could "rest" and are true. Maybe wrong I understand your reference. Please explain. Thank you.
Apr
3
comment Grammar description for language Java
Thank you, it seems useable for me.
Apr
3
asked Grammar description for language Java
Oct
19
accepted Microsoft Visual Studio 2012 very small command line
Oct
19
comment Microsoft Visual Studio 2012 very small command line
Yes, it's true. I also came to it. Thank you very much!
Oct
19
comment Microsoft Visual Studio 2012 very small command line
Here is the solution: Turn on cmd.exe and right click on the mouse to change the size. It's really simple, but it happened to me the first time and I was looking for a bug elsewhere. Thank you.
Oct
19
comment Microsoft Visual Studio 2012 very small command line
RE: Dandy: It's also very small. So the error is somewhere else than in Visual Studio...
Oct
19
comment Microsoft Visual Studio 2012 very small command line
Yes, sorry for the mistake. I'm talking about Command Window...
Oct
19
revised Microsoft Visual Studio 2012 very small command line
added 85 characters in body
Oct
19
asked Microsoft Visual Studio 2012 very small command line
1 2 3 4