Go to the documentation of this file.
41 #ifndef GNSSTK_TIMESTRING_HPP
42 #define GNSSTK_TIMESTRING_HPP
127 std::string
printTime(
const CommonTime& t,
128 const std::string& fmt );
134 template <
class TimeTagType>
136 const std::string& fmt )
141 ttt.convertFromCommonTime(t);
142 return ttt.printf(fmt);
144 catch (InvalidRequest& ir)
146 return ttt.printError(fmt);
154 template <
class TimeTagType>
158 std::string chars = ttt.getPrintChars();
159 for(
size_t i=0; i<chars.length(); i++) {
160 if(chars[i] ==
'P')
continue;
171 const std::string& str,
172 const std::string& fmt );
175 const std::string& str,
176 const std::string& fmt );
190 const std::string& str,
191 const std::string& fmt );
197 #endif // GNSSTK_TIMESTRING_HPP
void scanTime(TimeTag &btime, const string &str, const string &fmt)
void mixedScanTime(CommonTime &t, const string &str, const string &fmt)
std::string printAs(const CommonTime &t, const std::string &fmt)
bool isLike(const std::string &s, const std::string &aPattern, const char zeroOrMore=' *', const char oneOrMore='+', const char anyChar='.')
std::string printTime(const CommonTime &t, const std::string &fmt)
bool willPrintAs(const std::string &fmt)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42