astx.literals.temporal
astx.literals.temporal
Source: packages/astx/src/astx/literals/temporal.py
title: ASTx Data Types module.Classes
LiteralDate(Literal)
title: LiteralDate data type class.
attributes:
value:
type: str
type_:
type: Date
loc:
type: SourceLocationMethods
get_struct(self, simplified: bool=False) -> ReprStruct
title: Return the structure of the LiteralDate object.
parameters:
simplified:
type: bool
returns:
type: ReprStructLiteralTime(Literal)
title: LiteralTime data type class.
attributes:
value:
type: str
type_:
type: Time
loc:
type: SourceLocationMethods
get_struct(self, simplified: bool=False) -> ReprStruct
title: Return the structure of the LiteralTime object.
parameters:
simplified:
type: bool
returns:
type: ReprStructLiteralTimestamp(Literal)
title: LiteralTimestamp data type class.
attributes:
value:
type: str
type_:
type: Timestamp
loc:
type: SourceLocationMethods
get_struct(self, simplified: bool=False) -> ReprStruct
title: Return the structure of the LiteralTimestamp object.
parameters:
simplified:
type: bool
returns:
type: ReprStructLiteralDateTime(Literal)
title: LiteralDateTime data type class.
attributes:
value:
type: str
type_:
type: DateTime
loc:
type: SourceLocationMethods
get_struct(self, simplified: bool=False) -> ReprStruct
title: Return the structure of the LiteralDateTime object.
parameters:
simplified:
type: bool
returns:
type: ReprStruct