Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make split the method data into another class

 
pooja rathi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I hope you will get the sequence of code here i have one method called Dates() and i am doing my whole code in that method only but i dont want that i want the date method only reprsent the date and rest of the code in another class but i am finding it difficulty i am new in this please suggest me something.Thanks in advance[
 
Carey Brown
Bartender
Posts: 1953
24
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another thing, please use quote tags to quote things that have already been said in past messages, not new things you're writing.
 
Campbell Ritchie
Sheriff
Posts: 51436
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have removed the quote tags. You cannot put tags insdie code tags.
That SQL code looks wrong; you should not use Strings for date or time. I think you are going to have to go back to your SQL and run the code from the database program's command line interface until you get the correct SQL.

Moving this discussion to our databases forum.
 
Knute Snortum
Bartender
Pie
Posts: 2904
62
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your code is full of errors and will not compile. This makes it very hard to determine what you are trying to do. Please post code that compiles and is properly formatted.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic