File: DateAndTime.h

package info (click to toggle)
caret 5.6.4~dfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 31,904 kB
  • ctags: 28,901
  • sloc: cpp: 378,050; python: 6,718; ansic: 5,507; makefile: 333; sh: 46
file content (29 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* 
 * File:   dateandtime.h
 * Author: john
 *
 * Created on June 23, 2009, 11:49 AM
 */

#ifndef  __DATE_AND_TIME_H__
#define	__DATE_AND_TIME_H__

#include <QString>

class DateAndTime {
   public:
      // get the date and time in a string
      static QString getDateAndTimeAsString();

      // get the date and time in a string for naming
      static QString getDateAndTimeForNaming();

      // get the date in a string for naming
      static QString getDateForNaming();

   private:

};

#endif	/* __DATE_AND_TIME_H__ */