Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
schema.utils.time_record.create_date_interval_pb
Stay organized with collections
Save and categorize content based on your preferences.
Creates a DateInterval proto for the given start and end dates.
schema.utils.time_record.create_date_interval_pb(
start_date: datetime.date, end_date: datetime.date, tag: str = ''
) -> date_interval_pb2.DateInterval
Args |
start_date
|
A datetime object representing the start date.
|
end_date
|
A datetime object representing the end date.
|
tag
|
An optional tag to identify the date interval.
|
Returns |
|
Returns a date interval proto wrapping the start/end dates.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-13 UTC."],[],[]]