Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#131105231] https://www.pivotaltracker.com/story/show/131105231 Signed-off-by: Bharath Sekar <bharath.sekar@ge.com>
- Loading branch information
1 parent
6f71930
commit 2ab8fdf
Showing
9 changed files
with
82 additions
and
17 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
model/src/main/java/org/cloudfoundry/identity/uaa/util/UaaDateUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
/******************************************************************************* | |||
* Cloud Foundry | |||
* Copyright (c) [2009-2016] Pivotal Software, Inc. All Rights Reserved. | |||
* <p> | |||
* This product is licensed to you under the Apache License, Version 2.0 (the "License"). | |||
* You may not use this product except in compliance with the License. | |||
* <p> | |||
* This product includes a number of subcomponents with | |||
* separate copyright notices and license terms. Your use of these | |||
* subcomponents is subject to the terms and conditions of the | |||
* subcomponent's license, as noted in the LICENSE file. | |||
*******************************************************************************/ | |||
package org.cloudfoundry.identity.uaa.util; | |||
|
|||
import java.util.Calendar; | |||
|
|||
public class UaaDateUtils { | |||
|
|||
public static long getMinDate() { | |||
Calendar calendar = Calendar.getInstance(); | |||
calendar.set(1970, Calendar.JANUARY, 1, 0, 0, 0); | |||
calendar.set(Calendar.MILLISECOND, 0); | |||
return calendar.getTimeInMillis(); | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters