Initial commit: HTab spreadsheet engine and GemUI X11 frontend
This commit is contained in:
commit
395f458fee
55 files changed
+12682
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "engine/value.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace htab {
|
||||
|
||||
// Pure proleptic Gregorian calendar with serial 0 = 1899-12-30.
|
||||
int ymd_to_serial(int year, int month, int day);
|
||||
void serial_to_ymd(int serial, int& year, int& month, int& day);
|
||||
void serial_to_hms(double serial, int& hour, int& minute, int& second);
|
||||
|
||||
std::string format_value(const Value& val, const std::string& fmt);
|
||||
|
||||
} // namespace htab
|
||||
Reference in new issue
Block a user