Fuego.lang.Time.addDays() - Not working correctly.

Hi,
I tried to use the Time.addDays function and it does not add complete 1 day for the following code. Instead it adds only 23 hours. Its doing something with Day Light Saving.
Is there anyway to get round this??
Time taskDueDate = new Time(2006,10,29);
display(taskDueDate);
taskDueDate = taskDueDate.addDays(i : 1);
display(taskDueDate);
Thanks
Pal

Try this:
Time taskDueDate = new Time(2006,10,29);
display(taskDueDate);
//Set the day component
taskDueDate = Time.day(taskDueDate,30);
display(taskDueDate);
This method will use the calendar to set the date.
Hope this helps
Juan
On Mon, 09 Apr 2007 11:53:27 -0300, Puspendu Pal wrote:
Hi,
I tried to use the Time.addDays function and it does not add complete 1
day for the following code. Instead it adds only 23 hours. Its doing
something with Day Light Saving.
Is there anyway to get round this??
Time taskDueDate = new Time(2006,10,29);
display(taskDueDate);
taskDueDate = taskDueDate.addDays(i : 1);
display(taskDueDate);
Thanks
Pal--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Similar Messages

  • JSF Design Time View Not working correctly for ADF/JSF components

    My project is not using any external tag libraries. It is based purely on ADF core/html and JSF core/html components. The design time view does not show the appropriate presentation, everything is shown as nexted frame containers (I suppose how you would show a component that does not have a visual representation).
    If I create a new project and copy my jsp (jsf) pages over they show perfectly. I did this activity and all was going well in the new project and then I lost the design time view again. I cannot tell you what I did to cause the issue, maybe it was a modification to the web.xml as has been suggested in some other threads. Can anyone tell me what I should be looking for that causes this problem, what corrective actions I might take to eliminate the issues

    Ok I have isolated this issue. In my phase listener I had this line of code:
    private static final Logger _logger =  Logger.getLogger(EigRequest.class.getPackage().getName());
    and I changed it to
    private static final Logger _logger =
    Logger.getLogger(EigRequest.class.getName());
    and design mode started to work. I guess either of the above works for me although I do not understand why the line works when you run the application but not in design mode.
    Moral to the story is if something fails in any one of these types of decorators you will drop into a raw view mode. The question I have is if errors are occuring how do I figure out where they may be. There is no indication that anything is wrong with the exception that you lose most of the design mode functionality.
    This was not a compile issue, this was not a runtime issue. It took me quite a few hours of writing a test program to validate that it was not just writing a phase-listener issue; then launching, editing, relaunching the application to find the problem. I will say that a good portion of the code came from a Eclipse project. If you add the offending lines of code while using JDeveloper you do not loose design mode immediately. You only see the problem the next time you start JDeveloper which complicates finding the problem.

  • Start time option not working correctly on iPod Touch

    So I have this song that has some stupid thing in the first 30 secs, so I turned on the start time option on the song and told it to start at 30secs. When I play the song on iTunes it works fine. However after putting it on my iPod Touch The track seems to be off. Here's a diagram of what I mean.
    ........................starts here
    ............0:00<=====|=======================>4:00 normal song
    0:00<==========|===================>4:00 song on iPod Touch
    See what's happening is its starting at 30 secs just like I told it to, but it seems that the actual track isn't starting at 0:00, more like -0:07. So while it says its at 30secs its actually at 37secs. Then when the song is over it says there is still 7 secs left and it goes back to the list of music before the time is up. When I start the song and drag the button to the very beginning of the song however this is fixed and the song is back on track. But I want it to start 30secs in. Please help me

    yes?? The song is Paper Walls by Yellowcard. You can listen to it yourself, but to explain it they play this intro of the song (which I dislike) and then it pauses for a couple of seconds and then the actual song starts. listen to the song here: http://www.youtube.com/watch?v=GjENnmGf-Jc

  • New harddrive in MacBook - restore from time machine not working correctly

    Recently put a new Samsung drive into my White 2007 MacBook. I put the snow leopard disk and selected restore from backup onto the newly formatted Samsung drive. After 4 or so hours it says it has completed successfully and the computer needs to re start.
    After this the computer boots the apple logo appears and the spinning thingy spins. It stays at this screen and won't go any further. Any ideas?
    Should I install a fresh copy of snow leopard first then restore from backup?

    Hi William:
    Should I install a fresh copy of snow leopard first then restore from backup?
    According to this article, yes (the new HD fits the description, I think):
    http://support.apple.com/kb/TS3243
    Barry

  • Some time tech pad not working correctly

    I am buy a HP Pavilion laptop from awok.com. Some time mouse teach pad not working correctly some time open windows 8.1 time bar and some time i am using mouse teach pad then automaticly come right click popup menu coming some time i am try to scrol the page using mouse pad then automaticly Select all from the page so please help me

    Hello @BABUMON ,
    Thank you for visiting the HP Support Forums and Welcome. I have read about your HP Notebook and mouse freezing. Here is a document on how to troubleshoot the mouse and Touchpad sensitivities.
    If you will go to the section on Adjusting TouchPad or ClickPad pointing sensitivities it should help resolve the issue.
    I would be happy to assist if needed as there are many models of HP Notebooks, I would need the model number.
    How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Flex Time with variable tempo not working correctly.

    Hey,
    Has anyone else noticed that Flex Time doesn't work as intended if you have variable tempo?
    To clarify, I recorded a band playing their song and then figured out their various natural tempo changes and adjusted the Global Tempo Track accordingly.
    Then, the drummer recorded his part to a click on that track, obviously keeping with the natural tempo changes that the band played to.
    Quantization of MIDI works just fine, as in, it matches the increases and decreases in tempo.
    However, attempting to quantize an audio track using Flex Time does not work properly.
    I was just wondering if there is something that I'm doing wrong or if this is a known bug.
    Thanks,
    William

    Thank you for your answers!
    But there are several Problems using a dummy field in an IDOC structure. We have got a naming convension so that we can't create an IDOC-like structure named ORDRSP.ORDERS05.
    But perhaps I am thinking to complex and there is an easier way to add a dummy field to an IDOC structure.
    Could you perhaps also suggest a solution for that dummy field problem?
    Many thanks and kind regards,
    Steven

  • Package fuego.lang/papi does not exist

    Hi,
    I change the code of BPM_HOME\webapps\workspace\WEB-INF\lib\fuego.workspace\fuego\workspace\example
    MyWorkListDecorator. (just unzip the jar -> change .class to .java->add code)
    The code snippet is as follows. I just want to change the row background color when the deadline is less than one hour.
    However, when I compile the .java, it always shows errors:
    1, cannot find symbol: InstanceInfo
    2, package does not exist: fuego.papi, fuego.lang , fuego.workspace.model.view
    Even when I compile (javac) the original file, same errors still appear. And it cannot be changed to .class file.
    Can anyone help me?
    Thanks a lot
    =========java code snippet=================
    public String getRowStyle(String viewId, InstanceInfo instanceInfo, int rowIndex) throws ParseException {       
    String s=null;
         fuego.lang.Time df = DateFormat.getDateTimeInstance();
         if(instanceInfo.getProcessDeadline().compareTo(df)<=0){
    s= "background-color:DimGray";
         DateFormat mediumDateFormat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM);
         GregorianCalendar cal2 = new GregorianCalendar();
         String ss=mediumDateFormat.format(cal2.getTimeInMillis()).toString();
         java.util.Date td_currentTime = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(ss);
         long lBeginTime = td_currentTime.getTime();
    String deadline= instanceInfo.getProcessDeadline().toString();
         java.util.Date td_deadline = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(deadline);
         long lEndTime = td_deadline.getTime() ;
         long iDay = (long)((lEndTime-lBeginTime)/(1000*60));
    if(iDay<60&&iDay>0){  s= "background-color:lightblue";  }
         if(iDay<=0){  s= "background-color:IndianRed";  }
    //return instanceInfo.getPriority() != 5 ? null : "background-color:IndianRed";
    return s;
    ==========================
    =======cmd error=============
    C:\Documents and Settings\Administrator>e:
    E:\>cd E:\BPMstudio20090324\webapps\workspace\WEB-INF\lib\fuego.workspace\fuego\workspace\example
    E:\BPMstudio20090324\webapps\workspace\WEB-INF\lib\fuego.workspace\fuego\workspace\example>javac MyWorkListDecorator.java
    MyWorkListDecorator.java:8: package fuego.lang does not exist
    import fuego.lang.Time;
    ^
    MyWorkListDecorator.java:9: package fuego.papi does not exist
    import fuego.papi.*;
    ^
    MyWorkListDecorator.java:10: package fuego.workspace.model.view does not exist
    import fuego.workspace.model.view.WorkListDecorator;
    ^
    MyWorkListDecorator.java:20: cannot find symbol
    symbol: class WorkListDecorator
    public class MyWorkListDecorator implements WorkListDecorator{
    ^
    MyWorkListDecorator.java:25: cannot find symbol
    symbol : class InstanceInfo
    location: class fuego.workspace.example.MyWorkListDecorator
    public String getRowStyle(String viewId, InstanceInfo instanceInfo, int
    rowIndex) throws ParseException {
    ^
    MyWorkListDecorator.java:52: cannot find symbol
    symbol : class InstanceInfo
    location: class fuego.workspace.example.MyWorkListDecorator
    public String getCellStyle(String viewId, InstanceInfo instanceInfo, fue
    go.papi.Presentation.Column column, int i)
    ^
    MyWorkListDecorator.java:52: package fuego.papi.Presentation does not exist
    public String getCellStyle(String viewId, InstanceInfo instanceInfo, fue
    go.papi.Presentation.Column column, int i)
    ^
    MyWorkListDecorator.java:57: cannot find symbol
    symbol : class InstanceInfo
    location: class fuego.workspace.example.MyWorkListDecorator
    public String getValue(String viewId, InstanceInfo instanceInfo, fuego.papi.Presentation.Column column, Locale locale, String currentValue, int rowIndex
    ^
    MyWorkListDecorator.java:57: package fuego.papi.Presentation does not exist
    public String getValue(String viewId, InstanceInfo instanceInfo, fuego.papi.Presentation.Column column, Locale locale, String currentValue, int rowIndex)
    ^
    MyWorkListDecorator.java:28: package fuego.lang does not exist
    fuego.lang.Time df = DateFormat.getDateTimeInstance();
    ^
    10 errors
    E:\BPMstudio20090324\webapps\workspace\WEB-INF\lib\fuego.workspace\fuego\workspa
    ce\example>
    ====================

    Hi,
    I'd suspect you're using Studio if you're getting this error. The problem you'll have trying this with Studio is that it does not have the "fuegopapi-client.jar".
    You might want to install Enterprise, and do your work in that environment. Once Enterprise is installed, put the file
    C:/{OracleBPMEnterpriseHomeDir}/client/papi/lib/fuegopapi-client.jar in your classpath and try to compile again.
    Hope this helps,
    Dan

  • Email pushing not working correctly for office email - 3 seperate devices/carriers

    We switched email hosts several months ago and since our email pushing has not worked correctly. Our host/IT guy has been very unwilling to help me through this (I get the pleasure of being the in-house IT source)
    I personally am on AT&T have no problems with the other 3 emails I have set up on my blackberry. However I receive my work account one time a day at roughly 6:15. Another user is on Alltel and he receives spotty emails throughout the day, but his gmail account comes through instantly. The third user is on nextel and he receives his 2-3 times per day.
    I began to think this was an email host issue since the three of us are all on different carriers, until I found out a fourth user, also on nextel, receives his emails fine.
    Users 1-3 are on Outlook 07 on various versions of the Curve. We have all our messages to stay on the server.
    User 4 is on the older nextel blackberry push to talk, and is not on outlook. 
    We do not have an exchange server. Our emails were all set up through our devices.
    Any suggestions? The answers I have received through our carriers is to make sure that our messages are set to be left on the server. Everyone else at the office has given up - but for me this is the quest for the Holy Grail.......I'm determined find the answer!
    Thank you in advance for any suggestions.
    Caitlin Talbot 

    Potential solution for windows for a side-by-side install. This works for me.
    To setup a firefox install side by side so that links from external programs (like email) can open (so you don't get a "Firefox is already running but is not responding" message) do the following.
    The solution entails the use of the -no-remote switch. Don't use it for the default browser. Use it for the non default browser.
    I'll use firefox 3.6 and firefox 4.0 as examples but this should work for future versions.
    + Install firefox 3.6 and Firefox 4.0 in different directories. Eg.
    C:\Program Files\Mozilla Firefox\firefox.exe
    C:\Program Files\Mozilla Firefox 4\firefox.exe
    + Open profile manager. Start > Run : firefox.exe -ProfileManager
    + In profile manager create Two Profiles.
    firefox3.6
    firefox4
    + In profile manager select firefox 4 as your default (assuming you want to default to the latest) and tick "Don't ask at startup"
    + Create two windows shortcuts.
    * General: Mozilla Firefox 4 (default). Shortcut > Target: "C:\Program Files\Mozilla Firefox 4\firefox.exe". Shortcut > Start In: "C:\Program Files\Mozilla Firefox 4"
    * General: Mozilla Firefox 3.6. Shortcut > Target: "C:\Program Files\Mozilla Firefox\firefox.exe" -p firefox3.6 -no-remote. Shortcut > Start In: "C:\Program Files\Mozilla Firefox"
    That's it. Links from external programs should now open in your default browser.
    Further details see. [http://kb.mozillazine.org/Opening_a_new_instance_of_your_Mozilla_application_with_another_profile Opening a new instance of your Mozilla application with another profile]

  • LaserJet Pr0 200 color MFP M276nw Touch Screen not Working correctly

    Hello, I'm having an issue with a LaserJet Pr0 200 color MFP M276nw Touch Screen not Working correctly. I have followed the instructions to reset the printer, but now am unable to select 'English' as my language because every time I select the 'English' option 'Spanish' is selected. I am then given two options to select 'Si' or 'No' both of which can not be selected on the touch screen?
    Anybody know of a way round this?

    Hi @dnhowes ,
    I see that you are having issues with the touch screen not working correctly. I will do my best to help you.
    Make sure the printer is connected directly to a wall outlet. (don't use a power hub or a surge protector) This ensures the printer is receiving full power and may help this situation.
    Was it the Nvram reset back to factory settings that you tried or a hard reset?
    Try selecting the option on the display a little higher above the icon to see if that helps. Some touch screens are finicky.
    I find that on the Lab printers when I am selecting different menus.
    If the issue continues, please call our technical support at 800-474-6836 for further assistance. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Forecast splitting not working correctly

    Hello
    I have a problem with the forecast splitting not working correctly.  We are using 2M->W     2 MONTH IN WEEKS     0  GLEI and most of the time this appears to work fine but there are occasions where the forecast is split for May, did not split Jun but split July.
    E.g. 
    06.05.2008     IndReq     VSF               9,424-
    12.05.2008     IndReq     VSF               20,845-
    19.05.2008     IndReq     VSF               30,925-
    27.05.2008     IndReq     VSF               24,740-
    02.06.2008     IndReq     VSF               134,257-
    01.07.2008     IndReq     VSF               25,771-
    07.07.2008     IndReq     VSF               32,213-
    14.07.2008     IndReq     VSF               32,214-
    21.07.2008     IndReq     VSF               32,213-
    28.07.2008     IndReq     VSF               25,770-     
    Do any of you Guru's have any idea why this would happen?
    Many thanks
    Sue

    I checked it in MD67
    it is working fine.
    In MD61 - my demand is 800 each for June and July. it hjas splited as below
    system is dividing the total qty on daily basis and then multiplying by no days in that week covered by requirement
    W 22.2008             26.667
    W 23.2008            186.667
    W 24.2008            186.666
    W 25.2008            186.667
    W 26.2008            186.667
    W 27.2008             26.666
    W 27.2008            154.839
    W 28.2008            180.645
    W 29.2008            180.646
    W 30.2008            180.645
    W 31.2008            103.225

  • System Update not working correctly

    Hi forum,
    System Update (Version 4.00.0024) is not working correctly on my T500 with Windows 7.
    1: Not detecting old versions
    SU is not detecting, that there is an old version of Access Connection (5.42) installed although there is a new version 5.50 avaliable. I had to do a manual update.
    2: Not installing a suggested update
    Each time I run SU, I get a suggested update for "Fix for Issue of HDD with HDP Detection for Windows Vista/7". After downloading there comes a meaningless message "package was not installed" (Paket wurde nicht installiert). No hint for any error.
    3: Some drivers (e.g. for the ultranav) have not been downloaded at all - I had to test the functions of some hardware components and download the appropriate drivers manually in case of malfuncion.
    Probably there is a solution known within the forum community, at least this should be a message to lenovo (I received no response from the help desk when reporting this finding).
    Regards
    AH_DE

    Dear Herik,
    thanks for your answer.
    I checked the log  file and found thousands of entries. Here are the lines related to "Fix for ...".
    Info    2010-02-03 , 08:40:37
              bei Tvsu.Gui.CustomComponents.UpdatePanel.SynchronizeBoxPackage(Object sender, EventArgs args)
              Message: Selected to install: Fix for Issue of HDD with HDP Detection for Windows Vista/7, with
    Info    2010-02-03 , 08:40:43
              bei Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)
              Message: Candidate list:
    Fix for Issue of HDD with HDP Detection for Windows Vista/7[reboot type 3]
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.GenericPackageInstaller.ExtractFiles(String extractCommand)
              Message: osfq03ww.exe -s -ex -fC:\SWTOOLS\OSFIXES Extract command was executed sucessfully in Fix for Issue of HDD with HDP Detection for Windows Vista/7 update
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.CmdInstaller.InstallUpdate()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 is being install using Windows Service
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Engine.Process.PackageInstallerProcess.InstallNewUpdates()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 installation failed
    ADDITIONAL ENTRIES 
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Gui.FlowScreens.Results.AdjustComponent()
              Message: System updated:
              Installed=0
              Not Installed=Tvsu.Beans.Update[]
              Deferred=0
              Download Failed=0
              Hidden=0
    Severe          2010-02-03 , 08:41:17
              bei Tvsu.Sdk.SuSdk.ShutDownApplication()
              Message: Has happened an exception while the UNCAuthenticator.Shutdown() was executedShare name can not be null or empty
    Since I'm a normal user only, I can't interprete this information. Do you know what to do?
    Kind Regards
    AH_DE

  • Sound blaster not working correctly?

    Sound blaster not working correctly #I have a 64 bit, windows vista system.
    A Logitech Z-5500 Digital speaker system (one woofer, center speaker, left, right, rear right, left rear speakers, and a seperate control head).
    I have an X-fi gamer sound card.
    I recently formatted my hard dri've and reinstalled everything. Trying to make everything happy again. Here is my problem:
    When I use the Creative Console Launcher (CCL), my front right speaker tests fine. My front left speaker comes out of the woofer. And no other speakers will test at all. It does this in all modes (2., 4., 5. and 7.).
    When I play some music, it is coming out of all of the speakers. But it won't test properly in the CCL. So, do I have an issue, does what the CCL is doing not matter, or something else In some games, hearing what direction stuff is coming from matters, so if it is sending sounds to the wrong speakers, then I need to figure out a fix.....hence my post.
    Thanks for any help you can give, Robert

    Well, as the official documatation states, the Archlinux is for more or less advanced users, and if you're not one, we will make you one
    First of all, if you compiled your sound as modules, try putting this in your rc.local:
    stat_busy "Activating Sound"
    /sbin/modprobe your_sound_module
    /sbin/modprobe other_sound_module
    /sbin/modprobe yet_other_sound_module
    stat_done
    Change your_sound_module stuff to your module names as you configured in the kernel, of course.
    Second: in order to have two or more sound apps working at the same time, you need some kind of sound server. For default one (esd), uncomment esd in /etc/rc.local (remove ! before it) . After that, you'll have to configure your sound apps to use esd. I know that this is extremely easy with xmms and xine, dunno about others. I do not use esd, because my favorite games (quake3 and half-life) require direct access to /dev/dsp.
    And remember: nobody blames for asking 8)

  • My pc has a virus I just downloaded song from pc to kids ipods now both ipods are not working correctly could the virus be in the ipods,  if not why are both not working doing the same thing right after unplugging from pc.

    Can an ipod get a virus from a pc that has a virus.  After connecting two different ipods to my pc to download music they both are not working correctly, could the virus have transferred to the ipod,  if not why would both ipods not work and be doing the same thing?  When trying to click on a game it just stays on the main screen.

    - I have not heard of a virus that can cause problem with an iDvice that has not been jailbroken.
    - Try resetting the iPods. nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Do you hve problems with one game? The same game on both iPods?
    Other apps?

  • Help....my daughter has an ipod, iphone and ipad and face time will not work

    My daughter has an iphone, ipod and we have a family ipad. for some reason face time will not work. it rings in but the connection is never made. I even had her phone into verizon and they couldn't figure out why facetime wouldn't work. Anyone have any ideas on how we can correct this. It cannot be her phone because it's doing the same thing on her ipod, I cannot get facetime even to call out on our ipad. My oldest daughter has the iphone and a MAC in the same household and hers are working?

    Alot of people are having problems with FaceTime.
    Are you're devices updated?

  • Program not working correctly-Help!

    class Sort
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by select method.
         int[] selectSort(int[] input)
              /*declare variables to be used in array */
              int x, y, max, temp;
              int[] select = new int[input.length];
              /*This loop reads the entire array */
              for(x = input.length - 1; x>0; x--)
                   max = 0;
                   /*This loop checks to see if any number is
                   lower possible greatest number /
                   for(y = 0; y <= x; y++)
                   {//Returns number if lowest number
                        if(input[y] > input[max])
                             max = y;
                        }//end of if statement
                   }//end of inner loop
                   /*Switches the values */
                        temp = input[x];
                        select[x] = input[max];
                        select[max] = temp;
              }//end of outer loop
              return select;          
         } //end of selectSort()
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by bubble method.
         int[] bubbleSort(int[] input)
              int[] bubble = new int[input.length];
              for (int x = 1; x < input.length; x++)
                   for (int y = 0; y < input.length - 1; y++)
                        if (input[y] > input[y+1])
                             int temp = input[y];
                             bubble[y] = input[y+1];
                             bubble[y+1] = temp;
              return bubble;
         } //end of bubbleSort
    **********************Test Class**********************
    class TestSort
         public static void main(String[] args)
              /* count variable used as loop counter when
              * result table display is generated
              int count;
              /* variable for object of class Sort */
              Sort x;
              /* create object of class GroupEx2 */
              x = new Sort();
              /* create a source array of integer elements */
    int[] y = new int[5];
    /* assign values to array elements to be sorted     */     
              y[0] = 8;
              y[1] = 5;
              y[2] = 3;
              y[3] = 9;
              y[4] = 1;
              /* create variable for target of select sort array */
              int[] ss;
              /* create variable for target bubble sort array */
              int[] bs;
              /* call method to return an array with element values select sorted*/
              ss = x.selectSort(y);
              /* call method to return an array with element values bubble sorted*/
              bs = x.bubbleSort(y);          
              /* display original and sorted arrays in three columns*/
              System.out.print("Input Array" + "\t");
              System.out.print("Select Sort" + "\t");
              System.out.println("Bubble Sort");
              for (count = 0; count < y.length; count++)
                   /* Column 1: original array */
                   System.out.print("input[" + count + "] = " + y[count]);
                   /* tab between columns 1 and 2 */
                   System.out.print("\t");
                   /* Column 2: select sorted array */
                   System.out.print("select[" + count + "] = " + ss[count]);
                   /* tab between columns */
                   System.out.print("\t");
                   /* Column 3: bubble sorted array */
                   System.out.println("bubble[" + count + "] = " + bs[count]);
              } // end of display for loop
         } // end of main()
    } // end of class TestSort

    Thanks for the Bash! I'm surprised you had the time
    for it.Go back and look at your original post. A whole bunch of code, and the only description of the problem is "not working correctly." Do you honestly think that's a reasonable way to ask for help? Do you go to the doctor and say, "I'm sick" and then just wait for him to cure you? Do you take your care to the mechanic and say only, "It's broke"?
    Look, this is your problem and it's your responsibility to fix it. There are people here who are happy to help you, but it's up to you to provide a reasonable statement of what's wrong, what you've tried, what you don't understand. For instance:
    Does it compile? If not, post the complete error message.
    Does it run, but throw an exception? If so, post the stack trace.
    Does it not throw an exception, but not behave the way you expect? Then describe the expected beavior and the observed behavior.
    Do you really need to be told this stuff? It seems like common sense that when you're asking people to spend their time helping you, you should give them the information they need to be able to do so.

Maybe you are looking for

  • How can I create Icon from byte[]

    I have such kind of task: program gets byte[] from DB (it's a *.png image bytes), after that I need to recreate icon from this bytes. Oleg.

  • N95: Vanishing Gmail Shortcut

    [N95-1, latest firmware (V30)] I've built a mailbox for my Gmail account, and I've assigned it the left selection key shortcut. After a certain amount of (idle?) time, the shortcut simply disappears. The key still works, only the shortcut ain't there

  • Line out volume ?

    hello there, iPhone seems to ignore the volume control when using the line out (base station)... Any clue why does this happens ? I was able to plug my previous iPod on my car but now the P2 cable dont fit the iPhone jack so I have to use the line ou

  • FAQs about offline Help for Creative Suite 6

    You can find answers to the most frequently asked questions about downloading and viewing offline Help content for CS6 in this blog post: http://blogs.adobe.com/mallika/2012/07/five-faqs-about-offline-help-for-creative-suite-6.h tml Do let us know if

  • How to Install CCMS AGENT in SOLMAN4X

    HI, I want to know what is the location of service market place where i can download my own certificate for my browser because everytime I access service market place i have to enter my user n pass manually. I will post points for sure! Thanks,