pub struct Date<'a> {
pub _tab: Table<'a>,
}
Expand description
Date is either a 32-bit or 64-bit signed integer type representing an elapsed time since UNIX epoch (1970-01-01), stored in either of two units:
- Milliseconds (64 bits) indicating UNIX time elapsed since the epoch (no leap seconds), where the values are evenly divisible by 86400000
- Days (32 bits) since the UNIX epoch
Fields§
§_tab: Table<'a>
Implementations§
Trait Implementations§
source§impl<'a> PartialEq<Date<'a>> for Date<'a>
impl<'a> PartialEq<Date<'a>> for Date<'a>
source§impl Verifiable for Date<'_>
impl Verifiable for Date<'_>
source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos
in the verifier’s buffer.
Should not need to be called directly.