DateAndTime¶
-
class
oci.lustre_file_storage.models.DateAndTime(**kwargs)¶ Bases:
objectA generic object to show date and time in the below specified format
Methods
__init__(**kwargs)Initializes a new DateAndTime object with values from keyword arguments. Attributes
dateGets the date of this DateAndTime. timeGets the time of this DateAndTime. -
__init__(**kwargs)¶ Initializes a new DateAndTime object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - date (str) – The value to assign to the date property of this DateAndTime.
- time (str) – The value to assign to the time property of this DateAndTime.
-
date¶ Gets the date of this DateAndTime. A user-friendly date. Example: 2025-04-25
Returns: The date of this DateAndTime. Return type: str
-
time¶ Gets the time of this DateAndTime. A user-friendly time. The format is ‘HH:MM’, ‘HH:MM’ represents the time in UTC. Example: 22:00
Returns: The time of this DateAndTime. Return type: str
-