GeostoreTimeEndpointProto

AI Overview😉

  • The potential purpose of this module is to help Google understand and process time-related data, such as schedules, events, or recurring patterns, in a more accurate and efficient way. This module, GeostoreTimeEndpointProto, seems to be responsible for parsing and interpreting time intervals and schedules, allowing Google to better comprehend and utilize time-based information.
  • This module could impact search results by improving the relevance and accuracy of results related to time-sensitive queries, such as event schedules, business hours, or recurring events. By better understanding time intervals and schedules, Google can provide more precise and useful results, enhancing the overall search experience.
  • To be more favorable for this function, a website may consider providing clear and structured time-related data, such as using standardized formats for event schedules or business hours. Additionally, websites can ensure that their time-based information is easily crawlable and indexable by Google, allowing the search engine to better understand and utilize this data. Furthermore, websites can consider using schema markup or other semantic HTML elements to provide additional context and structure to their time-related data, making it easier for Google to understand and process.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeEndpointProto (google_api_content_warehouse v0.4.0)

Not all combinations of optional fields in TimeEndpointProto are allowed. The granularity of time is a path along the directed graph with these edges: second -> minute minute -> hour hour -> day of week hour -> day of month hour -> day of year day of week -> week of month day of week -> week of year day of month -> month day of year -> year week of month -> month week of year -> year month -> year A TimeEndpointProto may not specify two fields that are unordered with respect to each other ("day of year" and "day of week", for instance). The absence of fields larger than any specified field indicates repetition (e.g. no year indicates that the interval occurs every year). The absence of units that are "smaller" than the largest specified unit indicates a default lowest value (no hour means midnight (0)). When intersecting time intervals, "smaller" units repeat within the "larger" unit as many times as necessary. For example, the intersection of the interval from hour 0 to hour 24 with the interval from second 0 to second 1 is equivalent to the union of the set of intervals which represents the first second of every minute of every hour of every day. ----------------------------------------------------------------------------- WARNING - if you add new fields to TimeEndpointProto you need to: - ensure AreTimeEndpointsEquivalent considers the new fields (and update the corresponding tests) -----------------------------------------------------------------------------

Attributes

  • day (type: integer(), default: nil) - Valid ranges are 0-7, 1-31, and 1-366 (see day_type below)
  • dayType (type: String.t, default: nil) -
  • hour (type: integer(), default: nil) - Valid range is 0-24. Because it could be unclear what wrapping hours mean in relation to days, 24 is used to denote midnight at the end of a day.
  • minute (type: integer(), default: nil) - Valid range is 0-59, except when a repetitive minute interval ends at the end of an hour, in which case 60 is a legal end value.
  • month (type: String.t, default: nil) -
  • second (type: integer(), default: nil) - Valid range is 0-59, except when a repetitive second interval ends at the end of a minute, in which case 60 is a legal end value.
  • week (type: integer(), default: nil) - Valid ranges are 0-5 and 1-53 (depending on the value of week_type, see below).
  • weekType (type: String.t, default: nil) -
  • year (type: integer(), default: nil) -

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeEndpointProto{
  day: integer() | nil,
  dayType: String.t() | nil,
  hour: integer() | nil,
  minute: integer() | nil,
  month: String.t() | nil,
  second: integer() | nil,
  week: integer() | nil,
  weekType: String.t() | nil,
  year: integer() | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.