How to make this date validation
Hello
I want a method that returns the 9 months before today. I mean the current date - 9 months. And I want to go oracle.jbo.domian.Date
This is the method that I try to use, but it returns an incorrect value
public oracle.jbo.domain.Date minDate(){ oracle.jbo.domain.Date current = new oracle.jbo.domain.Date(); System.out.println(current); oracle.jbo.domain.Date maxdate =(oracle.jbo.domain.Date)current.addMonths(-9); System.out.println(maxdate); return maxdate; }
put method is:
course: 01/01/1970
MaxDate: 04/01/1969
It seems that this line "current oracle.jbo.domain.Date = new oracle.jbo.domain.Date ();' does not return the current date."
Help, please
Hello
I find the solution
oracle.jbo.domain.Date public minDate() {}
DateTime = new java.sql.Timestamp java.sql.Timestamp (System.currentTimeMillis ());
current oracle.jbo.domain.Date = new oracle.jbo.domain.Date (datetime);
System.out.println (Current);
maxdate = (oracle.jbo.domain.Date) current.addMonths(-9) oracle.jbo.domain.Date;
System.out.println (MaxDate);
return maxdate.
}
Tags: Java
Similar Questions
-
How to make uneditable Date field in ADF
Hello
I use Jdev 11.1.1.7.1.
In the fragment, I added the DATE of the ENTRY component. How to make uneditable date field. He should just take the input value of the grille.
Kindly advice me.
Thank you
Swathi
Your date. MinValue must be like this:
-
want to make a field mandatory towing how to make this
I have two fields that I use
First_name, Last_Name
I want to make one of it is not mandatory the two
I wan, that the user must enter one of them cannot leave the empty trailer but must insert the data in the first or last name
How to make a mandatory validation at one of the two fields.In your template project, double-click the object of the entity that contains the name and last name fields. CLiiCK the category 'Business Rules' innovations. You should see a folder called 'Validators entity.' Click the folder, and then click the Green plus icon to create a new validator of entity. 'Method', choose the type of rule.
Then expand your OA in the application browser and open the file Impl.java from
and find the method that you just created. Write the code java, is not back to false if both attributes are null, and true if at least one Section 8.2 in the Fusion developer's Guide has all the details.
John
-
When I go to get the modules (7.0.1), there is no evidence, except the info bubble "which are the modules. How to make this work? The rest of the functions in this section seems to work. And I can get MY addons, but not the available modules.
On the left side, click Extensions.
-
whenever I click on something on that I get pop up as I'm right click how to make this stop?
whenever I click on something on that I get pop up as I'm right click how to make this stop?
Cindy,
What should I have selected in system preferences... > mouse > Point & Click > secondary click?
-
"$US" automatically... How to make this stop?
Hello
I have "joint currency" spreasheet
But the numbers seem to AUTOMATICALLY add a 'US' before ' $'.
How to make this STOP?
Thank you very much
Troy
Hi Troy,
This is probably connected with the region setting in system preferences > language and text. Several countries use the sign $ as their monetary symbol.
Browse from the context menu in the preferences to see which is the "naked" in your area and who to choose as your marker for amounts in US dollars.
The symbol has no effect on the number of underlyings.
Kind regards
Barry
-
I signed up for Apple music and since then I can't synchronize playlists from my computer to my phone because it says I have iTunes game turned on, but I do not subscribe to iTunes recently Match (ish). How to make this stop?
Hello
You cannot synchronize in usb or wifi if you subscribe to the Apple's music. The basic principle of the AM is that your iTunes library is scanned to determine what can be matched or must be downloaded. Once completed, all the music you will be available to listen to or download on your iOS device.
Jim
-
screen scrolls top down on its own how to make this stop
my screen jumps up and down how to make this stop?
Hi ssuueet,
- Have you tried the steps suggested?
- Have you managed to solve the problem?
If this isn't the case, reply to the thread, then we can look for other options.
Thank you!
-
I lost some data during a copy and paste procedure between folders on a thumb drive... any ideas how to recover this data?
I lost some data during a copy and paste procedure between folders on a thumb drive... any ideas how to recover this data?
If you did a copy and paste, the original files are left intact when they came. If you did a cut and paste, they are lost if you do not paste them and your paperweight (the location of storage to copy or cut and paste) was allowed. It would be cleared if you did quite exemplary or cuts too fill it, or if you rebooted.
-
in the folder windows images, photo icons are the same and are not actually see a little image of the image. How to make this happen
Hi tonutot,
1 when was the last time it was working fine?
2. did you of recent changes on the computer?
3. only happens in the pictures folder?
Check and make sure that the bottom of settings is set correctly on the computer.
(a) in the currently open folder, click organize on the toolbar, and then click folder and Search Options.
(b) click on the view tab, and then deselect the always show icons, never thumbnails check box.
(c) click on apply and OK
Behavior and change folder views
http://Windows.Microsoft.com/en-us/Windows-Vista/change-folder-views-and-behavior
I hope this helps!
Halima S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
My tx10 automatically rotates pictures 90 degrees after that I'll take them. How to make this stop?
The camera automatically rotates the image according to its orientation. Unfortunately, this feature cannot be disabled.
You can correct orientation by setting the [rotation] option in the menu viewing.
If my post answered your question, please mark it as "accept as a Solution.
-
Do I need to eliminate one of the creative clouds? How to make this work-2 accounts on one computer?
Hi Kim,
Two creative cloud subscriptions registered under 2 different unusable i.d. together on a single computer.
Must disconnect and connect each time as the creative cloud desktop application, in order to be able to use another subscription.
-
Hi, I was wondering if someone could point me in the right direction how to make this intro in After Effects. What is a table multi or something else?
CCI of driving a vision for the future of WA - YouTube
Some other effects used in which seem to be:
Plexus: http://aescripts.com/plexus/
Race 3D: http://www.redgiant.com/products/trapcode-3d-stroke/compatibility/
Individual: http://www.redgiant.com/products/trapcode-particular/
The photo explosion could be made with the individual or the shape (the author can have the Trapcode Suite)
-
When I export my file to generate a .pdf file, the text box is literally a box around it! How to make this line disappear?
Looks like you have a line on it. Select the image and the race set to None.
-
Facebook like button does not work, I used the widget of muse and created the facebook code. Anyone know how to make this work?
Hi connally25,
Here is a link to a video tutorial on how to add a Facebook button, please check if you have followed the same steps to add the video.
http://TV.Adobe.com/watch/learn-Adobe-Muse-CC/adding-a-Facebook-like-button/
If you followed the steps correctly and the button still does not; Here is a link to a forum thread which may help to solve the problem:
Facebook follow Widget does not
Concerning
Sonam
Maybe you are looking for
-
I have a problem with the "Bookmarks" tab Before I reinstalled windows after a crash, I could click on the Bookmarks tab to save a site go to choose a folder and a place that some of the site in a specific folder. Now it does not; When I type choose
-
Scanner does not work on photosmart 7520
I have a Photosmart 7520, when I tried to scan on my PC, I clicked on the name of my PC on the printer screen, but then he said that it could not connect to my pc... I know that the wireless feature works because I was able to print from my ipad... I
-
How to change the language setting in Microsoft word to generate a list of references?
How to change the language setting in Microsoft word to generate a list of references? I use a Mac with the (traditional) Chinese language setting, and I need the reference generatinga list for my document in English!
-
Vista Service Pack 1 and 2 installation issues
Hello I have to constantly new updates available - which is service pack 2. It takes about 2 seconds to download and says that it is installed-, but it's not. I've tried everything. My system says that I have service pack 1, but if I try to download
-
Accept clients according to their power RSSI in autonomous access point
I want to allow only users who are close access point to strong power RSSI and require low power RSSI other users to connect to other AP closest to them I use standalone AP 1130 g