Tags » Internship

Getting Ready For My Future

Being a sophomore in college means I pretty much think about my future everyday and then worry myself almost to death that I will go no where in life. 579 more words

Miscellaneous

Being the Office Newbie - Surviving Day # 1

Hi everyone, I hope you all had a productive reading week and got some good news back from your field placements. Before our NYA field trip, I finalized my placement at Diasporic Genius and started the same week. 497 more words

From Principle To Practice

Internship, How ? What? Where?

This write-up only explains how I applied and why I did things the way I did. It definitely isn’t an advise and certainly doesn’t guarantee you an internship if you do what I did. 1,058 more words

Articles

Validating data fields using Java

Below controller class represents some of essential data field validates using Java. Happy coding :)

public class ValidateController {
 public static boolean isInteger(String s) {
   try {
     if (s!=null && !s.equals("")) {
       Integer.parseInt(s);
    } else {
       return false;
    }
   } catch (NumberFormatException e) {
     return false;
   } 
  return true;
 }

 public static boolean isPrice(String s) {
   final String regExp = "+([,.]{1,2})?";
   try {
     if (s!=null && !s.equals("")) {
       Float.parseFloat(s);
     } else {
       return false;
     }
   } catch (NumberFormatException e) {
     return false;
   }
   return Pattern.matches(regExp, s);
 }

 public static boolean isName(String s) {
   final String regExp = "[ a-zA-Z]+";
   if (s!=null && !s.equals("")) {
     return Pattern.matches(regExp, s);
   } else {
     return false;
   }
 }

 public static boolean isTP(String s) {
   final String regExp = "+";
   if (s!=null && s.length() == 10 && Pattern.matches(regExp, s)) {
     return true;
   } else {
     return false;
   }
 }

 public static boolean isAddress(String s) {
   final String regExp = "[ -/0-9a-zA-Z]+";
   if (s!=null && !s.equals("")) {
     return Pattern.matches(regExp, s);
   } else {
     return false;
   }
 }

 public static boolean hasvalue(int num) {
   if (num > 0) {
     return true;
   } else {
     return false;
   }
 }

 public static boolean isDateCorect(Date date) {
   Calendar c = new GregorianCalendar();
   c.set(Calendar.HOUR_OF_DAY, 0);
   c.set(Calendar.MINUTE, 0);
   c.set(Calendar.SECOND, 0);
   Date today = c.getTime();
   if (date != null) {
     return date.after(today);
   } else {
     return false;
   }
 }

 public static boolean compareDates(Date d1, Date d2) {
   if (d1 != null && d2 != null) {
     return d1.before(d2);
   } else {
     return false;
   }
 }
}
Internship

Biggest Event of the Semester: GLOWRAGE!

GLOWRAGE: The biggest student event at Shepherd University since Shepfest! How did we pull it off? It all started in the prep work!

Behind The Scenes:  877 more words

#Internship

HNN Internship Week 8

My tweets can be found here.

This week went well in terms of my tweets. Something I have noticed is that my tweets tend to do well on Sundays. 157 more words

Internship

Internship Advice from Rebecca Shannon

Finding an internship related to my degree, Geography, and more specifically my interests in quantitative models, glaciology, and climate change is pretty tough! I would say impossible but luckily, I stumbled across a listing for an internship at CDP (the Carbon Disclosure Project). 596 more words

GeogSoc Newsletter