Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:07:57+00:00 2026-05-26T11:07:57+00:00

OffsetDate represents a date with a zone offset. I don’t understand the purpose this

  • 0

OffsetDate represents a date with a zone offset. I don’t understand the purpose this class serves, what are the main use cases justifying its existence?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:07:58+00:00Added an answer on May 26, 2026 at 11:07 am

    When analysing the basic components of dates and times there are four basic elements:

    • date
    • time
    • offset (hours plus/minus from Greenwich)
    • time-zone

    These naturaly form seven classes:

    • LocalDate – date only
    • LocalTime – time only
    • LocalDateTime – date + time
    • OffsetDate – date + offset
    • OffsetTime – time + offset
    • OffsetDateTime – date + time + offset
    • ZonedDateTime – date + time + offset + zone

    (a time-zone can only be used if you know the date and the time, so there is no ZonedDate or ZonedTime class)

    The first six forms directly match XML schema definitions, which in effect justifies their existence. In application design terms I suspect that OffsetDate will be the least used of the seven classes.

    Update: 2013-01-24: OffsetDate won’t be in JDK 1.8.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

we have a C++ class which basically reads and writes vectors from a binary
I have two tables, details id integer primary key onsetdate Date questionnaires id integer
I'm learning to use ReST Web services and I need to find out how
I have an PHP array parsed from a JSON string that looks like this:
I am new to c# and Database linking that's why not able to get
I am working with the Yahoo geocoding service, a RESTful XML-based service. I cannot
given the following query: {ResultSet:{version:1.0,Error:0,ErrorMessage:No error,Locale:us_US,Quality:40,Found:1,Results:[{quality:40,latitude:37.777125,longitude:-122.419644,offsetlat:37.777125,offsetlon:-122.419644,radius:10700,name:,line1:,line2:San Francisco, CA,line3:,line4:United States,house:,street:,xstreet:,unittype:,unit:,postal:,neighborhood:,city:San Francisco,county:San Francisco County,state:California,country:United States,countrycode:US,statecode:CA,countycode:,uzip:94102,hash:,woeid:2487956,woetype:7}]}} how
I'm programming a kind of Lights Off game in Flash Professional (not Flash/Flex Builder)
I got a scenario to create the anonymous list from the anonymous types, and
I am retrieving some similar XML from the Yahoo API - <ResultSet version=1.0> <Error>0</Error>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.