Search Results
OK to copy?
Examples 1 through 10 of
30 (0.0 seconds)
Class:
com.technoetic.xplanner.domain.virtual.Timesheet
©,
Rating:
0% of 1,
C1
Class: org.apache.axis.encoding.ser.DateSerializer ©, Rating: 0% of 0, C1
Class: org.apache.axis.encoding.ser.DateSerializer ©, Rating: 0% of 0, C1
Class: org.apache.axis.encoding.ser.DateDeserializer ©, Rating: 0% of 1, C2
Class: com.technoetic.xplanner.charts.DataSampleData ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.charts.DataSampleData ©, Rating: 0% of 0, C2
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
025 public Timesheet(Date startDate, Date endDate) {
026 Calendar cal = Calendar.getInstance();
027 cal.setTime(startDate);
028
029 for (; cal.getTimeInMillis() <= endDate.getTime(); cal.add(Calendar.DATE, 1)) {
Class: org.apache.axis.encoding.ser.DateSerializer ©, Rating: 0% of 0, C1
102 if (calendar.get(Calendar.ERA) == GregorianCalendar.BC) {
103 buf.append("-");
104 calendar.setTime((Date)value);
105 calendar.set(Calendar.ERA, GregorianCalendar.AD);
106 value = calendar.getTime();
Class: org.apache.axis.encoding.ser.DateSerializer ©, Rating: 0% of 0, C1
099 StringBuffer buf = new StringBuffer();
100 synchronized (calendar) {
101 calendar.setTime((Date)value);
102 if (calendar.get(Calendar.ERA) == GregorianCalendar.BC) {
103 buf.append("-");
Class: org.apache.axis.encoding.ser.DateDeserializer ©, Rating: 0% of 1, C2
125 // support dates before the Christian era
126 if (bc) {
127 calendar.setTime(result);
128 calendar.set(Calendar.ERA, GregorianCalendar.BC);
129 result = calendar.getTime();
Class: com.technoetic.xplanner.charts.DataSampleData ©, Rating: 0% of 0, C1
065 private Calendar getMidnightOnIterationStart() {
066 Calendar currentDay = Calendar.getInstance();
067 currentDay.setTime(iteration.getStartDate());
068 currentDay.set(Calendar.HOUR_OF_DAY, 0);
069 currentDay.set(Calendar.MINUTE, 0);
Class: com.technoetic.xplanner.charts.DataSampleData ©, Rating: 0% of 0, C2
046
047 Calendar endDay = Calendar.getInstance();
048 endDay.setTime(iteration.getEndDate());
049
050 Calendar currentDay = getMidnightOnIterationStart();
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
070 public String getCurrentDate() {
071 Date dt = new Date ();
072 calendar.setTime (dt);
073 return getMonthInt() + "/" + getDayOfMonth() + "/" + getYear();
074
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
027 calendar = Calendar.getInstance();
028 Date trialTime = new Date();
029 calendar.setTime(trialTime);
030 }
031
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
070 public String getCurrentDate() {
071 Date dt = new Date ();
072 calendar.setTime (dt);
073 return getMonthInt() + "/" + getDayOfMonth() + "/" + getYear();
074
Class: cal.JspCalendar ©, Rating: 0% of 0, C1
027 calendar = Calendar.getInstance();
028 Date trialTime = new Date();
029 calendar.setTime(trialTime);
030 }
031