Exemple #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public static java.sql.Timestamp parseTimeStamp(String paramString) throws Exception
        public static Timestamp parseTimeStamp(string paramString)
        {
            try
            {
                return(convertDateToTimestamp(DateAndTimeFormatter.parse(paramString)));
            }
            catch (ParseException parseException)
            {
                throw new Exception(parseException);
            }
        }
Exemple #2
0
 public static string formatTimeStamp(DateTime paramDate)
 {
     return(DateAndTimeFormatter.format(paramDate));
 }