GoogleTypeTimeOfDay

AI Overview😉

  • Potential purpose of module: This module, GoogleTypeTimeOfDay, represents a time of day and is used to specify a particular time in a 24-hour format, including hours, minutes, seconds, and fractions of seconds in nanoseconds. Its purpose is likely to help Google's algorithm understand and process time-related data, such as business hours, event schedules, or time-sensitive content.
  • Impact on search results: This module could impact search results by allowing Google to better understand and prioritize time-sensitive content, such as events, appointments, or limited-time offers. It may also help Google to provide more accurate and relevant results for searches related to business hours, schedules, or time-specific information. This could lead to more accurate and relevant search results, especially for queries with time-related intent.
  • Optimization for this function: To be more favorable for this function, a website could ensure that its time-related data is accurately and consistently formatted, using a 24-hour clock and including minutes, seconds, and fractions of seconds in nanoseconds where applicable. Additionally, websites could provide clear and structured data about their business hours, event schedules, or time-sensitive content, making it easier for Google's algorithm to understand and process this information.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and google.protobuf.Timestamp.

Attributes

  • hours (type: integer(), default: nil) - Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
  • minutes (type: integer(), default: nil) - Minutes of hour of day. Must be from 0 to 59.
  • nanos (type: integer(), default: nil) - Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
  • seconds (type: integer(), default: nil) - Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

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.GoogleTypeTimeOfDay{
  hours: integer() | nil,
  minutes: integer() | nil,
  nanos: integer() | nil,
  seconds: integer() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.