StelLocaleMgr.hpp   StelLocaleMgr.hpp 
skipping to change at line 95 skipping to change at line 95
//! Valid values: //! Valid values:
//! - "mmddyyyy" //! - "mmddyyyy"
//! - "ddmmyyyy" //! - "ddmmyyyy"
//! - "system_default" //! - "system_default"
//! - "yyyymmdd" //! - "yyyymmdd"
//! //!
//! These values correspond to the similarly named values in the SDa teFormat enum. //! These values correspond to the similarly named values in the SDa teFormat enum.
QString getDateFormatStr(void) const {return sDateFormatToString(dat eFormat);} QString getDateFormatStr(void) const {return sDateFormatToString(dat eFormat);}
void setDateFormatStr(const QString& df) {dateFormat=stringToSDateFo rmat(df);} void setDateFormatStr(const QString& df) {dateFormat=stringToSDateFo rmat(df);}
//! Get the format string which describes the current date format (Q
t style).
QString getQtDateFormatStr(void) const;
//! Set the time zone. //! Set the time zone.
//! @param tZ the time zone string as parsed from the TZ environment //! @param tZ the time zone string as parsed from the TZ environment
//! varibale by the tzset function from libc. //! varibale by the tzset function from libc.
void setCustomTimezone(QString tZ) { setCustomTzName(tZ); } void setCustomTimezone(QString tZ) { setCustomTzName(tZ); }
//! @enum STimeFormat //! @enum STimeFormat
//! The time display format. //! The time display format.
enum STimeFormat { enum STimeFormat {
STime24h, //!< 24 hour clock, e.g. "18:22:00" STime24h, //!< 24 hour clock, e.g. "18:22:00"
STime12h, //!< 12 hour clock, e.g. "06:22:00 p m" STime12h, //!< 12 hour clock, e.g. "06:22:00 p m"
STimeSystemDefault //!< use the system default format. STimeSystemDefault //!< use the system default format.
}; };
//! @enum SDateFormat //! @enum SDateFormat
//! The date display format. //! The date display format.
enum SDateFormat { enum SDateFormat {
SDateMMDDYYYY, //!< e.g. "07-05-1998" for July 5th 1998 SDateMMDDYYYY, //!< e.g. "07-05-1998" for July 5th
SDateDDMMYYYY, //!< e.g. "05-07-1998" for July 5th 1998 1998
SDateDDMMYYYY, //!< e.g. "05-07-1998" for July 5th
1998
SDateSystemDefault, //!< Use the system default date for mat SDateSystemDefault, //!< Use the system default date for mat
SDateYYYYMMDD //!< e.g. "1998-07-05" for July 5th 1998 SDateYYYYMMDD //!< e.g. "1998-07-05" for July 5th 1998
}; };
//! Get a localized, formatted string representation of the date com ponent of a Julian date. //! Get a localized, formatted string representation of the date com ponent of a Julian date.
QString getPrintableDateLocal(double JD) const; QString getPrintableDateLocal(double JD) const;
//! Get a localized, formatted string representation of the time com ponent of a Julian date. //! Get a localized, formatted string representation of the time com ponent of a Julian date.
QString getPrintableTimeLocal(double JD) const; QString getPrintableTimeLocal(double JD) const;
 End of changes. 2 change blocks. 
2 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/