diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-10-01 17:35:06 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-01 17:35:06 +0200 |
commit | 6d3eeaea8d972c286bf98b8caa815689ec227ed6 (patch) | |
tree | a6039bf6422f5e3821a6f8ccef4ae7f893d8a131 /libimagtimeui | |
parent | b8ea45facfa0ed833e15e62237dde34975e98b17 (diff) |
libimagtimeui: Add copyright notice to all files
Diffstat (limited to 'libimagtimeui')
-rw-r--r-- | libimagtimeui/src/cli.rs | 19 | ||||
-rw-r--r-- | libimagtimeui/src/date.rs | 19 | ||||
-rw-r--r-- | libimagtimeui/src/datetime.rs | 19 | ||||
-rw-r--r-- | libimagtimeui/src/lib.rs | 19 | ||||
-rw-r--r-- | libimagtimeui/src/parse.rs | 19 | ||||
-rw-r--r-- | libimagtimeui/src/time.rs | 19 | ||||
-rw-r--r-- | libimagtimeui/src/ui.rs | 19 |
7 files changed, 133 insertions, 0 deletions
diff --git a/libimagtimeui/src/cli.rs b/libimagtimeui/src/cli.rs index 001c2a45..7db6c33d 100644 --- a/libimagtimeui/src/cli.rs +++ b/libimagtimeui/src/cli.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use clap::Arg; pub fn build_datetime_cli_component<'a, 'b>() -> Arg<'a, 'b> { diff --git a/libimagtimeui/src/date.rs b/libimagtimeui/src/date.rs index 987ad764..e44cc389 100644 --- a/libimagtimeui/src/date.rs +++ b/libimagtimeui/src/date.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use chrono::naive::date::NaiveDate as ChronoNaiveDate; use parse::Parse; diff --git a/libimagtimeui/src/datetime.rs b/libimagtimeui/src/datetime.rs index b78a7436..be718794 100644 --- a/libimagtimeui/src/datetime.rs +++ b/libimagtimeui/src/datetime.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use chrono::naive::datetime::NaiveDateTime as ChronoNaiveDateTime; use parse::Parse; diff --git a/libimagtimeui/src/lib.rs b/libimagtimeui/src/lib.rs index fa47a930..df9c4e47 100644 --- a/libimagtimeui/src/lib.rs +++ b/libimagtimeui/src/lib.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + #![deny( non_camel_case_types, non_snake_case, diff --git a/libimagtimeui/src/parse.rs b/libimagtimeui/src/parse.rs index 8898e184..b578551b 100644 --- a/libimagtimeui/src/parse.rs +++ b/libimagtimeui/src/parse.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + pub trait Parse : Sized { fn parse(s: &str) -> Option<Self>; diff --git a/libimagtimeui/src/time.rs b/libimagtimeui/src/time.rs index dc5cbc1a..3506a0be 100644 --- a/libimagtimeui/src/time.rs +++ b/libimagtimeui/src/time.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + use chrono::naive::time::NaiveTime as ChronoNaiveTime; use parse::Parse; diff --git a/libimagtimeui/src/ui.rs b/libimagtimeui/src/ui.rs index 691e8c47..642d5203 100644 --- a/libimagtimeui/src/ui.rs +++ b/libimagtimeui/src/ui.rs @@ -1,3 +1,22 @@ +// +// imag - the personal information management suite for the commandline +// Copyright (C) 2015, 2016 Matthias Beyer <mail@beyermatthias.de> and contributors +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; version +// 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + pub fn time_ui_fmtstr() -> &'static str { "YYYY-MM-DD[THH[:mm[:ss]]]" } |