Thousands of examples at your fingertips!
All classes, methods fields etc. are linked to the API documentation.
All members are listed by frequency of use or alphabetically (see left pane).
Links to examples and utility functions/classes are shown below
Class java.sql.Timestamp
[api documentation] [ main menu] Search

Links to examples (only one line shown below for each example):
[add your own example]

1 Timestamp v = (Timestamp)value;
2 a.setValue3(new Timestamp(System.currentTimeMillis()));
3 contract.setContractValue4(new Timestamp(System.currentTimeMillis()));
4 Timestamp lDateOld = null;
5 Timestamp ts = new Timestamp(time);
6 Timestamp ts = new Timestamp (entry.getTime());
7 Timestamp ts = new Timestamp(System.currentTimeMillis());
8 java.sql.Timestamp sqldate = new java.sql.Timestamp(d.getTime());
9 return java.sql.Timestamp.valueOf((String)raw);
10 return new Timestamp(d.getTime()).toString();
11 return new java.sql.Timestamp(this.getStartTime()).toString();
12 Timestamp ts = null;
13 java.sql.Timestamp stamp = null;
14 Timestamp result = null;
15 java.sql.Timestamp l_return = null;
16 cal.setTimeInMillis(m_startDate.getTime());
17 private Timestamp m_startDate = new Timestamp(System.currentTimeMillis());
18 return new java.sql.Timestamp(System.currentTimeMillis());
19 return new java.sql.Timestamp(new java.util.Date().getTime());
20 return new Timestamp(System.currentTimeMillis());

Links to utility classes and functions:

1 getDayEnd(Timestamp stamp) org.ofbiz.core.util.UtilDateTime
2 getDayEnd(Timestamp stamp, int daysLater) org.ofbiz.core.util.UtilDateTime
3 getDayStart(Timestamp stamp) org.ofbiz.core.util.UtilDateTime
4 getDayStart(Timestamp stamp, int daysLater) org.ofbiz.core.util.UtilDateTime
5 getNextDayStart(Timestamp stamp) org.ofbiz.core.util.UtilDateTime
6 monthBegin() org.ofbiz.core.util.UtilDateTime
7 nowDate() org.ofbiz.core.util.UtilDateTime
8 nowTimestamp() org.ofbiz.core.util.UtilDateTime
9 toTimestamp(String monthStr, String dayStr, String yearStr, String hourStr, String minuteStr, String secondStr) org.ofbiz.core.util.UtilDateTime
10 toTimestamp(int month, int day, int year, int hour, int minute, int second) org.ofbiz.core.util.UtilDateTime
11 toTimestamp(String dateTime) org.ofbiz.core.util.UtilDateTime
12 toTimestamp(String date, String time) org.ofbiz.core.util.UtilDateTime
13 de.must.util.MustTimestamp
14 er.extensions.ERXTimestampUtility
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.