aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Barnard2017-05-04 21:00:57 +0100
committerEdward Barnard2017-05-04 21:00:57 +0100
commit95a0f3a0b575e727db369b27d672c824686db013 (patch)
tree494109dc95d78aab68d7958f74f78306e4e2f2d2
parentf66a68053eb20b89df63c604a311fef4daa90f9b (diff)
downloadrust-plist-95a0f3a0b575e727db369b27d672c824686db013.tar.bz2
Add brief overview of the new Date type.
-rw-r--r--src/date.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/date.rs b/src/date.rs
index 4729193..50a0d5d 100644
--- a/src/date.rs
+++ b/src/date.rs
@@ -4,6 +4,7 @@ use std::str::FromStr;
use {Error, Result};
+/// A UTC timestamp. Used for serialization to and from the plist date type.
#[derive(Clone, Debug, PartialEq)]
pub struct Date {
inner: DateTime<UTC>,