pub struct Date(/* private fields */);Implementations§
Source§impl Date
impl Date
pub fn new(year__55: i32, month__56: i32, day__57: i32) -> Result<Date>
pub fn to_string(&self) -> Arc<String>
pub fn from_iso_string(isoString__63: impl ToArcString) -> Result<Date>
pub fn years_between(start__74: Date, end__75: Date) -> i32
pub fn day_of_week(&self) -> i32
pub fn encode_to_json(&self, p__91: JsonProducer)
pub fn decode_from_json( t__94: JsonSyntaxTree, ic__95: InterchangeContext, ) -> Result<Date>
pub fn year(&self) -> i32
pub fn month(&self) -> i32
pub fn day(&self) -> i32
pub fn json_adapter() -> JsonAdapter<Date>
Trait Implementations§
Source§impl AnyValueTrait for Date
impl AnyValueTrait for Date
Source§impl AsAnyValue for Date
impl AsAnyValue for Date
fn as_any_value(&self) -> AnyValue
Auto Trait Implementations§
impl Freeze for Date
impl RefUnwindSafe for Date
impl Send for Date
impl Sync for Date
impl Unpin for Date
impl UnwindSafe for Date
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more